mirror of
https://github.com/libraryaddict/LibsDisguises.git
synced 2024-12-13 15:16:50 +01:00
Fix error in 1.20.2
This commit is contained in:
parent
a0e2428fae
commit
dbd81538ca
@ -27,7 +27,10 @@ public class PacketListenerClientCustomPayload extends PacketAdapter {
|
||||
return;
|
||||
}
|
||||
|
||||
if (NmsVersion.v1_13.isSupported()) {
|
||||
if (NmsVersion.v1_20_R2.isSupported()) {
|
||||
// TODO Add support when PL 5.1.1 is available in maven
|
||||
return;
|
||||
} else if (NmsVersion.v1_13.isSupported()) {
|
||||
if (!event.getPacket().getMinecraftKeys().read(0).getFullKey().equals("minecraft:brand")) {
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user