Possibly fix the entity animations from playing over and over in self disguises
This commit is contained in:
parent
b026f30087
commit
3e4f581943
@ -759,7 +759,8 @@ public class PacketsManager {
|
||||
|| event.getPacketType() == PacketType.Play.Server.ENTITY_TELEPORT
|
||||
|| event.getPacketType() == PacketType.Play.Server.ENTITY_HEAD_ROTATION
|
||||
|| event.getPacketType() == PacketType.Play.Server.ENTITY_EFFECT
|
||||
|| event.getPacketType() == PacketType.Play.Server.ENTITY_EQUIPMENT) {
|
||||
|| event.getPacketType() == PacketType.Play.Server.ENTITY_EQUIPMENT
|
||||
|| event.getPacketType() == PacketType.Play.Server.ANIMATION) {
|
||||
event.setCancelled(true);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user