mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-26 23:13:09 +00:00
Replace all relevant markBlockForUpdate calls with the VanillaPacketDispatcher equivalent.
This commit is contained in:
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);
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user