public void Notify(Object world, int x, int y, int z) { if (world instanceof CraftWorld) { WorldServer server = (WorldServer) ((CraftWorld) world).getHandle(); server.notify(x, y, z); } else { InternalAccessor.Instance.PrintError(); } }
@Override public boolean add(Packet packet) { if (packet.k() == 51) { IPacket51 packet51 = InternalAccessor.Instance.newPacket51(); packet51.setPacket(packet); Calculations.Obfuscate(packet51, this.player); } return super.add(packet); }