Fixed #353
This commit is contained in:
parent
e83aa08d3c
commit
a36d6a92d9
@ -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]));
|
||||||
|
Loading…
Reference in New Issue
Block a user