mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-04 14:04:49 +01:00
Fixed the fix of the inventory dupe bug
This commit is contained in:
parent
7de9091036
commit
cdcb947532
1 changed files with 1 additions and 1 deletions
|
@ -101,7 +101,7 @@ public class EntityPlayer extends EntityHuman implements ICrafting {
|
||||||
for (int i = 0; i < inventory.b.length; ++i) {
|
for (int i = 0; i < inventory.b.length; ++i) {
|
||||||
if (inventory.b[i] != null) {
|
if (inventory.b[i] != null) {
|
||||||
loot.add(new CraftItemStack(inventory.b[i]));
|
loot.add(new CraftItemStack(inventory.b[i]));
|
||||||
inventory.a[i] = null;
|
inventory.b[i] = null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue