Bugfix attempt to remove render lag (see WayofTime#1457) (#1458)

Simplified the whole branch since it got really messed up
This commit is contained in:
tommyTT 2019-01-05 18:34:45 +01:00 committed by Nick Ignoffo
parent 4f04fde127
commit fa87ed0e17
2 changed files with 14 additions and 2 deletions

View file

@ -97,6 +97,14 @@ public class TileBase extends TileEntity {
public final void onDataPacket(NetworkManager net, SPacketUpdateTileEntity pkt) {
super.onDataPacket(net, pkt);
readFromNBT(pkt.getNbtCompound());
onDataPacketClientReceived();
}
/**
* Hook for performing client side updates after data packets are received and processed
*/
protected void onDataPacketClientReceived() {
// noop
}
@Override