Fixed All Crates not being in sync with Client, now updates correctly display
This commit is contained in:
parent
1c7724933d
commit
c71459a49e
2 changed files with 4 additions and 3 deletions
|
@ -372,14 +372,15 @@ public class BlockCrate extends BlockTile
|
|||
}
|
||||
if (ammountEjected >= requestSize)
|
||||
{
|
||||
tileEntity.onInventoryChanged();
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
tileEntity.onInventoryChanged();
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
tileEntity.onInventoryChanged();
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue