mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-26 23:13:09 +00:00
Shotgun tile.getWorldObj into tile.getWorld. May cause some individual errors but fix later
This commit is contained in:
1 parent
f6cfeedd1d
commit
67d5d65902
72 files changed
+231
-231
No files matched your search
@@ -19,7 +19,7 @@ import net.minecraft.world.World;
|
||||
public final class VanillaPacketDispatcher {
|
||||
|
||||
public static void dispatchTEToNearbyPlayers(TileEntity tile) {
|
||||
World world = tile.getWorldObj();
|
||||
World world = tile.getWorld();
|
||||
List players = world.playerEntities;
|
||||
for(Object player : players)
|
||||
if(player instanceof EntityPlayerMP) {
|
||||
|
||||
Reference in new issue
Block a user