mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-28 07:36:01 +00:00
Packet crash fixes, fixed Seismic Reader crash, fixed Portable Teleporter interface crash, fixed teleport crash
This commit is contained in:
1 parent
e4aed3f7c1
commit
06e011e244
29 files changed
+82
-67
No files matched your search
@@ -645,11 +645,11 @@ public class CommonProxy implements IGuiProvider
|
||||
return context.getServerHandler().playerEntity;
|
||||
}
|
||||
|
||||
public void handlePacket(Runnable runnable, World world)
|
||||
public void handlePacket(Runnable runnable, EntityPlayer player)
|
||||
{
|
||||
if(world instanceof WorldServer)
|
||||
if(player instanceof EntityPlayerMP)
|
||||
{
|
||||
((WorldServer)world).addScheduledTask(runnable);
|
||||
((WorldServer)player.worldObj).addScheduledTask(runnable);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user