From 288379c06ae04ff7ba9369aebad5c7fcef2b39a5 Mon Sep 17 00:00:00 2001 From: libraryaddict Date: Sun, 23 Jul 2017 23:47:22 +1200 Subject: [PATCH] Fix the wrong LibsMsg name --- .../disguise/commands/DisguiseViewSelfCommand.java | 4 ++-- src/me/libraryaddict/disguise/utilities/LibsMsg.java | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/me/libraryaddict/disguise/commands/DisguiseViewSelfCommand.java b/src/me/libraryaddict/disguise/commands/DisguiseViewSelfCommand.java index 77012e8a..0b241998 100644 --- a/src/me/libraryaddict/disguise/commands/DisguiseViewSelfCommand.java +++ b/src/me/libraryaddict/disguise/commands/DisguiseViewSelfCommand.java @@ -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; diff --git a/src/me/libraryaddict/disguise/utilities/LibsMsg.java b/src/me/libraryaddict/disguise/utilities/LibsMsg.java index 393963b5..93de1283 100644 --- a/src/me/libraryaddict/disguise/utilities/LibsMsg.java +++ b/src/me/libraryaddict/disguise/utilities/LibsMsg.java @@ -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;