Add missing changes
This commit is contained in:
parent
1e856091b9
commit
d58294d609
@ -74,7 +74,7 @@ public class DisguiseCommand extends DisguiseBaseCommand implements TabCompleter
|
||||
}
|
||||
}
|
||||
|
||||
if (!DisguiseAPI.isActionBarShown(disguise.getEntity())) {
|
||||
if (!DisguiseAPI.isNotifyBarShown(disguise.getEntity())) {
|
||||
disguise.setNotifyBar(DisguiseConfig.NotifyBar.NONE);
|
||||
}
|
||||
|
||||
|
@ -112,7 +112,7 @@ public class DisguisePlayerCommand extends DisguiseBaseCommand implements TabCom
|
||||
}
|
||||
}
|
||||
|
||||
if (!DisguiseAPI.isActionBarShown(disguise.getEntity())) {
|
||||
if (!DisguiseAPI.isNotifyBarShown(disguise.getEntity())) {
|
||||
disguise.setNotifyBar(DisguiseConfig.NotifyBar.NONE);
|
||||
}
|
||||
|
||||
|
@ -194,7 +194,7 @@ public class DisguiseRadiusCommand extends DisguiseBaseCommand implements TabCom
|
||||
}
|
||||
}
|
||||
|
||||
if (!DisguiseAPI.isActionBarShown(disguise.getEntity())) {
|
||||
if (!DisguiseAPI.isNotifyBarShown(disguise.getEntity())) {
|
||||
disguise.setNotifyBar(DisguiseConfig.NotifyBar.NONE);
|
||||
}
|
||||
|
||||
|
@ -20,7 +20,7 @@ public class DisguiseViewBarCommand implements CommandExecutor {
|
||||
|
||||
Player player = (Player) sender;
|
||||
|
||||
if (DisguiseAPI.isActionBarShown(player)) {
|
||||
if (DisguiseAPI.isNotifyBarShown(player)) {
|
||||
DisguiseAPI.setActionBarShown(player, false);
|
||||
LibsMsg.VIEW_BAR_OFF.send(sender);
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user