Fixed packet not being sent when crate filter changes
This commit is contained in:
parent
597df343b1
commit
4d6444bd43
2 changed files with 3 additions and 2 deletions
|
@ -14,9 +14,9 @@ import calclavia.lib.utility.LanguageUtility;
|
||||||
|
|
||||||
public class ItemBlockCrate extends ItemBlockTooltip
|
public class ItemBlockCrate extends ItemBlockTooltip
|
||||||
{
|
{
|
||||||
public ItemBlockCrate(int par1)
|
public ItemBlockCrate(int id)
|
||||||
{
|
{
|
||||||
super(par1);
|
super(id);
|
||||||
this.setHasSubtypes(true);
|
this.setHasSubtypes(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -265,6 +265,7 @@ public class TileCrate extends TileExternalInventory implements IPacketReceiver,
|
||||||
public void setFilter(ItemStack filter)
|
public void setFilter(ItemStack filter)
|
||||||
{
|
{
|
||||||
this.filterStack = filter;
|
this.filterStack = filter;
|
||||||
|
this.onInventoryChanged();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in a new issue