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

@ -86,6 +86,7 @@ DyeableWolf: false
# Such as prophunt. Its also false because its kind of a retarded feature.
# This is pretty simple. It shows the players displayname (Name as it appears in chat) above their head.
# This also overrides any custom name they have set in their disguise options.
# This does not take effect on player disguises
ShowNamesAboveDisguises: false
# This supports the above option.

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());
}