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();
|
packets.clear();
|
||||||
|
|
||||||
if (DisguiseConfig.isMetadataPacketsEnabled() && packetsHandler.isCancelMeta(disguise, observer)) {
|
if (DisguiseConfig.isMetadataPacketsEnabled() && !packetsHandler.isCancelMeta(disguise, observer)) {
|
||||||
List<WrappedWatchableObject> watchableObjects = disguise.getWatcher()
|
List<WrappedWatchableObject> watchableObjects = disguise.getWatcher()
|
||||||
.convert(sentPacket.getWatchableCollectionModifier().read(0));
|
.convert(sentPacket.getWatchableCollectionModifier().read(0));
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user