Fixes #1368: Vibration Chamber notifies neighbors on inventory change and state change

This commit is contained in:
thatsIch
2015-05-01 09:49:00 +02:00
parent ee431b3269
commit e392ecd08d
8 changed files with 123 additions and 84 deletions
+3 -1
View File
@@ -19,6 +19,8 @@
package appeng.tile;
import javax.annotation.Nullable;
import net.minecraft.block.Block;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.inventory.IInventory;
@@ -93,7 +95,7 @@ public abstract class AEBaseInvTile extends AEBaseTile implements ISidedInventor
}
@Override
public void setInventorySlotContents( int i, ItemStack itemstack )
public void setInventorySlotContents( int i, @Nullable ItemStack itemstack )
{
this.getInternalInventory().setInventorySlotContents( i, itemstack );
}