mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-11-26 08:48:34 +01:00
Fixed a stupid error with items randomly disappearing out of containers
Closes #203 Ugh, why is this game such a mess?
This commit is contained in:
parent
0ca678dae1
commit
ba8fde49c2
1 changed files with 3 additions and 1 deletions
|
@ -157,7 +157,9 @@ public abstract class TileEntityBase extends TileEntity implements ITickable{
|
|||
@Override
|
||||
public void onDataPacket(NetworkManager net, SPacketUpdateTileEntity pkt){
|
||||
if(pkt != null){
|
||||
this.receiveSyncCompound(pkt.getNbtCompound());
|
||||
NBTTagCompound compound = pkt.getNbtCompound();
|
||||
this.readFromNBT(compound);
|
||||
this.receiveSyncCompound(compound);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue