mirror of
https://github.com/libraryaddict/LibsDisguises.git
synced 2024-11-04 08:59:47 +01:00
Fix the wrong LibsMsg name
This commit is contained in:
parent
a00b2c7bfd
commit
288379c06a
@ -25,10 +25,10 @@ public class DisguiseViewSelfCommand implements CommandExecutor {
|
||||
|
||||
if (DisguiseAPI.isViewSelfToggled(player)) {
|
||||
DisguiseAPI.setViewDisguiseToggled(player, false);
|
||||
sender.sendMessage(LibsMsg.VIEW_SELF_ON.get());
|
||||
sender.sendMessage(LibsMsg.VIEW_SELF_OFF.get());
|
||||
} else {
|
||||
DisguiseAPI.setViewDisguiseToggled(player, true);
|
||||
sender.sendMessage(LibsMsg.VIEW_SELF_OFF.get());
|
||||
sender.sendMessage(LibsMsg.VIEW_SELF_ON.get());
|
||||
}
|
||||
|
||||
return true;
|
||||
|
@ -149,8 +149,8 @@ public enum LibsMsg {
|
||||
UNDISRADIUS(ChatColor.RED + "Successfully undisguised %s entities!"),
|
||||
UPDATE_READY(
|
||||
ChatColor.RED + "[LibsDisguises] " + ChatColor.DARK_RED + "There is a update ready to be downloaded! You are using " + ChatColor.RED + "v%s" + ChatColor.DARK_RED + ", the new version is " + ChatColor.RED + "%s" + ChatColor.DARK_RED + "!"),
|
||||
VIEW_SELF_OFF(ChatColor.GREEN + "Toggled viewing own disguise on!"),
|
||||
VIEW_SELF_ON(ChatColor.GREEN + "Toggled viewing own disguise off!");
|
||||
VIEW_SELF_ON(ChatColor.GREEN + "Toggled viewing own disguise on!"),
|
||||
VIEW_SELF_OFF(ChatColor.GREEN + "Toggled viewing own disguise off!");
|
||||
|
||||
private String string;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user