This commit is contained in:
libraryaddict 2019-04-21 10:57:47 +12:00
parent e83aa08d3c
commit a36d6a92d9

View File

@ -140,8 +140,8 @@ public class DisguiseUtilities {
if (disg.getEntity() == null) if (disg.getEntity() == null)
continue; continue;
if (disg.getEntity() instanceof Player ? DisguiseConfig.isSavePlayerDisguises() : if (disg.getEntity() instanceof Player ? !DisguiseConfig.isSavePlayerDisguises() :
DisguiseConfig.isSaveEntityDisguises()) !DisguiseConfig.isSaveEntityDisguises())
continue; continue;
saveDisguises(disg.getEntity().getUniqueId(), list.toArray(new Disguise[0])); saveDisguises(disg.getEntity().getUniqueId(), list.toArray(new Disguise[0]));