mirror of
https://github.com/libraryaddict/LibsDisguises.git
synced 2024-11-05 09:09:40 +01:00
Reverse check, fixes self disguises.
This commit is contained in:
parent
0a2b41d99d
commit
10bb5511a6
@ -35,7 +35,7 @@ public class PacketHandlerMetadata implements IPacketHandler {
|
||||
|
||||
packets.clear();
|
||||
|
||||
if (DisguiseConfig.isMetadataPacketsEnabled() && packetsHandler.isCancelMeta(disguise, observer)) {
|
||||
if (DisguiseConfig.isMetadataPacketsEnabled() && !packetsHandler.isCancelMeta(disguise, observer)) {
|
||||
List<WrappedWatchableObject> watchableObjects = disguise.getWatcher()
|
||||
.convert(sentPacket.getWatchableCollectionModifier().read(0));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user