Replace all relevant markBlockForUpdate calls with the VanillaPacketDispatcher equivalent.

This commit is contained in:
Lizbeth Rika committed 2015-04-10 13:54:40 +01:00
1 parent fb8f87634b
commit fd2768d53d
20 files changed
+50 -25

No files matched your search

@@ -29,4 +29,10 @@ public final class VanillaPacketDispatcher {
((EntityPlayerMP) player).playerNetServerHandler.sendPacket(tile.getDescriptionPacket());
}
public static void dispatchTEToNearbyPlayers(World world, int x, int y, int z) {
TileEntity tile = world.getTileEntity(x, y, z);
if(tile != null)
dispatchTEToNearbyPlayers(tile);
}
}