xitshit
All checks were successful
/ Build BaseBand DSM & Broadway (push) Successful in 2m19s

This commit is contained in:
Jess H 2024-06-18 23:23:34 +01:00
parent 1e7a3f5718
commit 4b0786e42c
Signed by: UnixSystemV
GPG key ID: 9B21C50B68D67F19

View file

@ -62,7 +62,7 @@ public class Notifier extends Feature {
}
public void packetEvent(PacketEvent.Receive event) {
if(event.getPacket() instanceof SPacketEntityTeleport) {
if(event.getPacket() instanceof SPacketEntityTeleport && traceTeleport) {
SPacketEntityTeleport packet2 = (SPacketEntityTeleport) event.getPacket();
if (! (mc.world.getEntityByID(packet2.getEntityId()) instanceof EntityPlayer)) return;