oopsy :3
All checks were successful
/ Build BaseBand DSM & Broadway (push) Successful in 1m58s

This commit is contained in:
Jess H 2024-06-17 10:41:08 +01:00
parent 31edef0735
commit 3b6ce0db8a
Signed by: UnixSystemV
GPG key ID: 9B21C50B68D67F19

View file

@ -64,7 +64,7 @@ public class ChatInfo extends Feature {
if(event.getPacket() instanceof SPacketEntityTeleport) {
SPacketEntityTeleport packet2 = (SPacketEntityTeleport) event.getPacket();
if (! (mc.world.getEntityByID(packet2.getEntityId()) instanceof EntityPlayer)) return false;
if (! (mc.world.getEntityByID(packet2.getEntityId()) instanceof EntityPlayer)) return;
if (Math.abs(mc.player.posX - packet2.getX()) > 50d || Math.abs(mc.player.posZ - packet2.getZ()) > 50d) {
String name = "Unknown";
Entity entity = mc.world.getEntityByID(packet2.getEntityId());