Fixed All Crates not being in sync with Client, now updates correctly display

This commit is contained in:
tgame14 2014-03-26 16:47:53 +02:00
parent 1c7724933d
commit c71459a49e
2 changed files with 4 additions and 3 deletions

View file

@ -372,14 +372,15 @@ public class BlockCrate extends BlockTile
}
if (ammountEjected >= requestSize)
{
tileEntity.onInventoryChanged();
return true;
}
}
tileEntity.onInventoryChanged();
return true;
}
}
tileEntity.onInventoryChanged();
return false;
}

View file

@ -68,7 +68,7 @@ public class TileCrate extends TileExternalInventory implements IPacketReceiver,
* Turns the inventory array into a single stack of matching items. This assumes that all items
* in the crate are the same TODO eject minority items and only keep the majority that are the
* same to prevent duplication issues
*
* TODO: Add Force?
* @param force - force a rebuild of the inventory from the single stack created
*/
public void buildSampleStack()