@@ -3,13 +3,13 @@
|
||||
@@ -29,7 +29,7 @@
|
||||
|
||||
public void setItem(ItemStack itemstack) {
|
||||
if (itemstack.getItem() != Items.FIRE_CHARGE || itemstack.hasTag()) {
|
||||
- this.getDataWatcher().set(EntityFireballFireball.e, SystemUtils.a((Object) itemstack.cloneItemStack(), (itemstack1) -> {
|
||||
+ this.getDataWatcher().set(EntityFireballFireball.e, SystemUtils.a(itemstack.cloneItemStack(), (itemstack1) -> { // CraftBukkit - decompile error
|
||||
if (!itemstack.a(Items.FIRE_CHARGE) || itemstack.hasTag()) {
|
||||
- this.getDataWatcher().set(EntityFireballFireball.DATA_ITEM_STACK, (ItemStack) SystemUtils.a((Object) itemstack.cloneItemStack(), (itemstack1) -> {
|
||||
+ this.getDataWatcher().set(EntityFireballFireball.DATA_ITEM_STACK, (ItemStack) SystemUtils.a(itemstack.cloneItemStack(), (itemstack1) -> { // CraftBukkit - decompile error
|
||||
itemstack1.setCount(1);
|
||||
}));
|
||||
}
|
||||
@@ -61,6 +61,6 @@
|
||||
@@ -68,6 +68,6 @@
|
||||
super.loadData(nbttagcompound);
|
||||
ItemStack itemstack = ItemStack.a(nbttagcompound.getCompound("Item"));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user