Archiviert
13
0

Always create vanilla packets in the packet constructor.

Dieser Commit ist enthalten in:
Kristian S. Stangeland 2012-11-03 06:48:58 +01:00
Ursprung f16581cdf4
Commit 263d085590

Datei anzeigen

@ -116,7 +116,7 @@ public class PacketConstructor {
} }
} }
Class<?> packetType = MinecraftRegistry.getPacketClassFromID(id); Class<?> packetType = MinecraftRegistry.getPacketClassFromID(id, true);
if (packetType == null) if (packetType == null)
throw new IllegalArgumentException("Could not find a packet by the id " + id); throw new IllegalArgumentException("Could not find a packet by the id " + id);