mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-11-22 07:13:28 +01:00
Update TileEntityBase.java
This commit is contained in:
parent
bd392b0a5b
commit
26758cb41b
1 changed files with 2 additions and 1 deletions
|
@ -75,7 +75,8 @@ public abstract class TileEntityBase extends BlockEntity {
|
|||
|
||||
@Override
|
||||
public void onDataPacket(Connection net, ClientboundBlockEntityDataPacket pkt) {
|
||||
this.readSyncableNBT(pkt.getTag(), NBTType.SYNC);
|
||||
if (pkt.getTag() != null) //TODO: pkt.getTag() is nullable. Hopping Item Interface will throw in the log when placed because of this
|
||||
this.readSyncableNBT(pkt.getTag(), NBTType.SYNC);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in a new issue