diff --git a/ProtocolLib/src/main/java/com/comphenix/protocol/injector/packet/PacketRegistry.java b/ProtocolLib/src/main/java/com/comphenix/protocol/injector/packet/PacketRegistry.java index 7e1f55e9..23390706 100644 --- a/ProtocolLib/src/main/java/com/comphenix/protocol/injector/packet/PacketRegistry.java +++ b/ProtocolLib/src/main/java/com/comphenix/protocol/injector/packet/PacketRegistry.java @@ -311,7 +311,7 @@ public class PacketRegistry { Set result = Sets.newHashSet(); for (int id : ids) - result.add(PacketType.findLegacy(id, preference)); + result.add(PacketType.fromLegacy(id, preference)); return Collections.unmodifiableSet(result); }