Update CraftBukkit to Minecraft 1.5.2
This commit is contained in:
@@ -308,13 +308,13 @@ public class PlayerInteractManager {
|
||||
if (this.isCreative()) {
|
||||
this.player.playerConnection.sendPacket(new Packet53BlockChange(i, j, k, this.world));
|
||||
} else {
|
||||
ItemStack itemstack = this.player.cb();
|
||||
ItemStack itemstack = this.player.cd();
|
||||
boolean flag1 = this.player.a(Block.byId[l]);
|
||||
|
||||
if (itemstack != null) {
|
||||
itemstack.a(this.world, l, i, j, k, this.player);
|
||||
if (itemstack.count == 0) {
|
||||
this.player.cc();
|
||||
this.player.ce();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -353,7 +353,7 @@ public class PlayerInteractManager {
|
||||
entityhuman.inventory.items[entityhuman.inventory.itemInHandIndex] = null;
|
||||
}
|
||||
|
||||
if (!entityhuman.bV()) {
|
||||
if (!entityhuman.bX()) {
|
||||
((EntityPlayer) entityhuman).updateInventory(entityhuman.defaultContainer);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user