Fixed packet not being sent when crate filter changes

This commit is contained in:
Robert S 2014-04-14 06:43:10 -04:00
parent 597df343b1
commit 4d6444bd43
2 changed files with 3 additions and 2 deletions

View file

@ -14,9 +14,9 @@ import calclavia.lib.utility.LanguageUtility;
public class ItemBlockCrate extends ItemBlockTooltip
{
public ItemBlockCrate(int par1)
public ItemBlockCrate(int id)
{
super(par1);
super(id);
this.setHasSubtypes(true);
}

View file

@ -265,6 +265,7 @@ public class TileCrate extends TileExternalInventory implements IPacketReceiver,
public void setFilter(ItemStack filter)
{
this.filterStack = filter;
this.onInventoryChanged();
}
@Override