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:
parent
4f04fde127
commit
fa87ed0e17
2 changed files with 14 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue