Ruins (Structure Spawning System)

Ruins (Structure Spawning System)

23M Downloads

Sending Packets to Fake Entity Player

GoogleCodeExporter opened this issue ยท 0 comments

commented
Extension of https://github.com/MinecraftForge/FML/issues/508


I've taken a look at the code and you can add the following in your network 
handler

public void sendPacketToPlayer(IPacket packet, EntityPlayerMP player)
    {
        if(player instanceof FakeEntityPlayer) return;
       ...

This will at the very least stop the game from crashing

Original issue reported on code.google.com by [email protected] on 3 Oct 2014 at 4:42