Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @Override
- public void markDirty()
- {
- if(isMax())
- {
- inputSlot = getCopy(chestItem.getMaxStackSize());
- }else{
- inputSlot = null;
- }
- if(container != null) container.changeSlot();
- @SuppressWarnings("unchecked")
- List<EntityPlayer> list= this.worldObj.playerEntities;
- for (EntityPlayer player : list) {
- if (player instanceof EntityPlayerMP) {
- ((EntityPlayerMP)player).playerNetServerHandler.sendPacket(this.getDescriptionPacket());
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement