mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-15 12:13:54 -07:00
Updated to rename revision 02
This commit is contained in:
@@ -26,7 +26,7 @@ public class ContainerPlayer extends Container {
|
||||
this.player = playerinventory; // CraftBukkit - save player
|
||||
this.c = false;
|
||||
this.c = flag;
|
||||
this.a((Slot) (new SlotResult(playerinventory.d, this.craftInventory, this.resultInventory, 0, 144, 36)));
|
||||
this.a((Slot) (new SlotResult(playerinventory.player, this.craftInventory, this.resultInventory, 0, 144, 36)));
|
||||
|
||||
int i;
|
||||
int j;
|
||||
@@ -75,7 +75,7 @@ public class ContainerPlayer extends Container {
|
||||
ItemStack itemstack = this.craftInventory.getItem(i);
|
||||
|
||||
if (itemstack != null) {
|
||||
entityhuman.b(itemstack);
|
||||
entityhuman.drop(itemstack);
|
||||
this.craftInventory.setItem(i, (ItemStack) null);
|
||||
}
|
||||
}
|
||||
@@ -110,7 +110,7 @@ public class ContainerPlayer extends Container {
|
||||
}
|
||||
|
||||
if (itemstack1.count == 0) {
|
||||
slot.c((ItemStack) null);
|
||||
slot.set((ItemStack) null);
|
||||
} else {
|
||||
slot.d();
|
||||
}
|
||||
@@ -131,7 +131,7 @@ public class ContainerPlayer extends Container {
|
||||
return bukkitEntity;
|
||||
}
|
||||
CraftInventoryCrafting inventory = new CraftInventoryCrafting(this.craftInventory, this.resultInventory);
|
||||
bukkitEntity = new CraftInventoryView(this.player.d.getBukkitEntity(), inventory, this);
|
||||
bukkitEntity = new CraftInventoryView(this.player.player.getBukkitEntity(), inventory, this);
|
||||
return bukkitEntity;
|
||||
}
|
||||
// CraftBukkit end
|
||||
|
Reference in New Issue
Block a user