@@ -104,8 +104,8 @@
|
||||
if (itemstack.getItem() instanceof ItemArmor) {
|
||||
+ int finalI = i; // CraftBukkit - decompile error
|
||||
itemstack.damage((int) f, this.player, (entityhuman) -> {
|
||||
- entityhuman.c(EnumItemSlot.a(EnumItemSlot.Function.ARMOR, i));
|
||||
+ entityhuman.c(EnumItemSlot.a(EnumItemSlot.Function.ARMOR, finalI)); // CraftBukkit - decompile error
|
||||
- entityhuman.broadcastItemBreak(EnumItemSlot.a(EnumItemSlot.Function.ARMOR, i));
|
||||
+ entityhuman.broadcastItemBreak(EnumItemSlot.a(EnumItemSlot.Function.ARMOR, finalI)); // CraftBukkit - decompile error
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user