Made the compost update when putting things in with automation (damn.)

This commit is contained in:
Ellpeck 2015-12-23 13:06:12 +01:00
parent 9917c07101
commit 7179fb01d1

View file

@ -61,6 +61,18 @@ public class TileEntityCompost extends TileEntityInventoryBase{
this.conversionTime = compound.getInteger("ConversionTime");
}
@Override
public void setInventorySlotContents(int i, ItemStack stack){
super.setInventorySlotContents(i, stack);
this.sendUpdate();
}
@Override
public ItemStack decrStackSize(int i, int j){
this.sendUpdate();
return super.decrStackSize(i, j);
}
@Override
public int getInventoryStackLimit(){
return AMOUNT;