Packet crash fixes, fixed Seismic Reader crash, fixed Portable Teleporter interface crash, fixed teleport crash

This commit is contained in:
aidancbrady committed 2016-06-17 16:45:53 -04:00
1 parent e4aed3f7c1
commit 06e011e244
29 files changed
+82 -67

No files matched your search

@@ -77,7 +77,6 @@ import net.minecraft.server.MinecraftServer;
import net.minecraft.util.EnumFacing;
import net.minecraft.util.math.AxisAlignedBB;
import net.minecraft.util.math.Vec3d;
import net.minecraft.world.World;
import net.minecraftforge.fml.common.FMLCommonHandler;
import net.minecraftforge.fml.common.network.ByteBufUtils;
import net.minecraftforge.fml.common.network.NetworkRegistry;
@@ -265,9 +264,9 @@ public class PacketHandler
return Mekanism.proxy.getPlayer(context);
}
public static void handlePacket(Runnable runnable, World world)
public static void handlePacket(Thread runnable, EntityPlayer player)
{
Mekanism.proxy.handlePacket(runnable, world);
Mekanism.proxy.handlePacket(runnable, player);
}
/**