should fix the texture no updating, not sure why this broke
This commit is contained in:
parent
cd00ebc4fe
commit
3b56d7c1e1
1 changed files with 2 additions and 1 deletions
|
@ -37,6 +37,7 @@ public class TileMachineBase extends TileEntity {
|
|||
worldObj);
|
||||
} else {
|
||||
worldObj.markBlockForUpdate(xCoord, yCoord, zCoord);
|
||||
worldObj.markBlockRangeForRenderUpdate(xCoord, yCoord, zCoord, xCoord, yCoord, zCoord);
|
||||
}
|
||||
needsSync = false;
|
||||
ticksSinceLastSync = 0;
|
||||
|
@ -60,7 +61,7 @@ public class TileMachineBase extends TileEntity {
|
|||
public void onDataPacket(NetworkManager net, S35PacketUpdateTileEntity packet) {
|
||||
worldObj.markBlockRangeForRenderUpdate(xCoord, yCoord, zCoord, xCoord,
|
||||
yCoord, zCoord);
|
||||
readFromNBT(packet.func_148857_g());
|
||||
readFromNBT(packet.func_148857_g());
|
||||
}
|
||||
|
||||
public void writeSyncToNBT(NBTTagCompound tagCompound) {
|
||||
|
|
Loading…
Add table
Reference in a new issue