Filter instances of S1BPacketEntityAttach that are referring to the Camera Entity

This commit is contained in:
CrushedPixel
2015-08-11 17:17:55 +02:00
parent 59592b938a
commit 063a26d4ab

View File

@@ -318,6 +318,13 @@ public class ReplaySender extends ChannelInboundHandlerAdapter {
} }
} }
if(p instanceof S1BPacketEntityAttach) {
S1BPacketEntityAttach packet = (S1BPacketEntityAttach) p;
if(packet.func_149403_d() == actualID) {
return null;
}
}
if(p instanceof S01PacketJoinGame) { if(p instanceof S01PacketJoinGame) {
S01PacketJoinGame packet = (S01PacketJoinGame) p; S01PacketJoinGame packet = (S01PacketJoinGame) p;
allowMovement = true; allowMovement = true;