From a36d6a92d99e0b30d50776bca84c31393cb41045 Mon Sep 17 00:00:00 2001 From: libraryaddict Date: Sun, 21 Apr 2019 10:57:47 +1200 Subject: [PATCH] Fixed #353 --- .../libraryaddict/disguise/utilities/DisguiseUtilities.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/me/libraryaddict/disguise/utilities/DisguiseUtilities.java b/src/main/java/me/libraryaddict/disguise/utilities/DisguiseUtilities.java index 0e0ef189..8214a505 100644 --- a/src/main/java/me/libraryaddict/disguise/utilities/DisguiseUtilities.java +++ b/src/main/java/me/libraryaddict/disguise/utilities/DisguiseUtilities.java @@ -140,8 +140,8 @@ public class DisguiseUtilities { if (disg.getEntity() == null) continue; - if (disg.getEntity() instanceof Player ? DisguiseConfig.isSavePlayerDisguises() : - DisguiseConfig.isSaveEntityDisguises()) + if (disg.getEntity() instanceof Player ? !DisguiseConfig.isSavePlayerDisguises() : + !DisguiseConfig.isSaveEntityDisguises()) continue; saveDisguises(disg.getEntity().getUniqueId(), list.toArray(new Disguise[0]));