Always create vanilla packets in the packet constructor.
Dieser Commit ist enthalten in:
Ursprung
f16581cdf4
Commit
263d085590
@ -116,7 +116,7 @@ public class PacketConstructor {
|
||||
}
|
||||
}
|
||||
|
||||
Class<?> packetType = MinecraftRegistry.getPacketClassFromID(id);
|
||||
Class<?> packetType = MinecraftRegistry.getPacketClassFromID(id, true);
|
||||
|
||||
if (packetType == null)
|
||||
throw new IllegalArgumentException("Could not find a packet by the id " + id);
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren