Add missing changes

This commit is contained in:
libraryaddict 2021-10-24 02:08:52 +13:00
parent 1e856091b9
commit d58294d609
4 changed files with 4 additions and 4 deletions

View File

@ -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); disguise.setNotifyBar(DisguiseConfig.NotifyBar.NONE);
} }

View File

@ -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); disguise.setNotifyBar(DisguiseConfig.NotifyBar.NONE);
} }

View File

@ -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); disguise.setNotifyBar(DisguiseConfig.NotifyBar.NONE);
} }

View File

@ -20,7 +20,7 @@ public class DisguiseViewBarCommand implements CommandExecutor {
Player player = (Player) sender; Player player = (Player) sender;
if (DisguiseAPI.isActionBarShown(player)) { if (DisguiseAPI.isNotifyBarShown(player)) {
DisguiseAPI.setActionBarShown(player, false); DisguiseAPI.setActionBarShown(player, false);
LibsMsg.VIEW_BAR_OFF.send(sender); LibsMsg.VIEW_BAR_OFF.send(sender);
} else { } else {