Skip to content

Commit

Permalink
Disable damage event packets for now
Browse files Browse the repository at this point in the history
  • Loading branch information
libraryaddict committed Dec 16, 2024
1 parent 9bba58f commit c4ea9b4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public PacketListenerViewSelfDisguise() {
Server.ATTACH_ENTITY, Server.ENTITY_RELATIVE_MOVE_AND_ROTATION, Server.ENTITY_RELATIVE_MOVE, Server.ENTITY_HEAD_LOOK,
Server.ENTITY_ROTATION, Server.ENTITY_TELEPORT, Server.ENTITY_MOVEMENT, Server.ENTITY_METADATA, Server.ENTITY_EQUIPMENT,
Server.ENTITY_ANIMATION, Server.ENTITY_EFFECT, Server.ENTITY_VELOCITY, Server.UPDATE_ATTRIBUTES, Server.ENTITY_STATUS,
Server.ENTITY_POSITION_SYNC, Server.DAMAGE_EVENT}) {
Server.ENTITY_POSITION_SYNC/*, Server.DAMAGE_EVENT*/}) { // Damage event disabled for now, PE seems to be kicking players for null damage type
listenedPackets[packet.ordinal()] = true;
}
}
Expand Down

0 comments on commit c4ea9b4

Please sign in to comment.