mirror of
https://github.com/libraryaddict/LibsDisguises.git
synced 2024-09-10 01:28:19 +02:00
Add comment for the slow of brain in config, reverse the self disguise check so it defaults to true
This commit is contained in:
parent
ae5f914286
commit
d0e91be090
@ -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.
|
||||
|
@ -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());
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user