Add missing changes
This commit is contained in:
@@ -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 {
|
||||
|
Reference in New Issue
Block a user