Add comment for the slow of brain in config, reverse the self disguise check so it defaults to true

This commit is contained in:
libraryaddict
2017-07-18 19:40:17 +12:00
parent ae5f914286
commit d0e91be090
2 changed files with 3 additions and 2 deletions

View File

@@ -390,7 +390,7 @@ public class DisguiseAPI {
*/
public static boolean isViewSelfToggled(Entity entity) {
return isDisguised(entity) ? getDisguise(entity).isSelfDisguiseVisible() :
Disguise.getViewSelf().contains(entity.getUniqueId());
!Disguise.getViewSelf().contains(entity.getUniqueId());
}
/**
@@ -422,7 +422,7 @@ public class DisguiseAPI {
}
}
if (toggled) {
if (!toggled) {
if (!Disguise.getViewSelf().contains(entity.getUniqueId())) {
Disguise.getViewSelf().add(entity.getUniqueId());
}