diff --git a/src/main/java/me/libraryaddict/disguise/commands/disguise/DisguiseCommand.java b/src/main/java/me/libraryaddict/disguise/commands/disguise/DisguiseCommand.java index 5c95121f..963242cb 100644 --- a/src/main/java/me/libraryaddict/disguise/commands/disguise/DisguiseCommand.java +++ b/src/main/java/me/libraryaddict/disguise/commands/disguise/DisguiseCommand.java @@ -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); } diff --git a/src/main/java/me/libraryaddict/disguise/commands/disguise/DisguisePlayerCommand.java b/src/main/java/me/libraryaddict/disguise/commands/disguise/DisguisePlayerCommand.java index 1447227c..517fa518 100644 --- a/src/main/java/me/libraryaddict/disguise/commands/disguise/DisguisePlayerCommand.java +++ b/src/main/java/me/libraryaddict/disguise/commands/disguise/DisguisePlayerCommand.java @@ -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); } diff --git a/src/main/java/me/libraryaddict/disguise/commands/disguise/DisguiseRadiusCommand.java b/src/main/java/me/libraryaddict/disguise/commands/disguise/DisguiseRadiusCommand.java index be11afbb..0585fdb9 100644 --- a/src/main/java/me/libraryaddict/disguise/commands/disguise/DisguiseRadiusCommand.java +++ b/src/main/java/me/libraryaddict/disguise/commands/disguise/DisguiseRadiusCommand.java @@ -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); } diff --git a/src/main/java/me/libraryaddict/disguise/commands/utils/DisguiseViewBarCommand.java b/src/main/java/me/libraryaddict/disguise/commands/utils/DisguiseViewBarCommand.java index e580159e..677fa5a8 100644 --- a/src/main/java/me/libraryaddict/disguise/commands/utils/DisguiseViewBarCommand.java +++ b/src/main/java/me/libraryaddict/disguise/commands/utils/DisguiseViewBarCommand.java @@ -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 {