From 44e954efeb4605d43636e4a614a4f1462bdf5fd6 Mon Sep 17 00:00:00 2001 From: GJ Date: Mon, 6 Feb 2012 11:53:55 -0500 Subject: [PATCH] Fixed typos in MOTD & /mcmmo There was an extra slash in there... --- src/main/java/com/gmail/nossr50/commands/mc/McmmoCommand.java | 2 +- src/main/java/com/gmail/nossr50/listeners/mcPlayerListener.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/gmail/nossr50/commands/mc/McmmoCommand.java b/src/main/java/com/gmail/nossr50/commands/mc/McmmoCommand.java index bafb988ee..feaa61479 100644 --- a/src/main/java/com/gmail/nossr50/commands/mc/McmmoCommand.java +++ b/src/main/java/com/gmail/nossr50/commands/mc/McmmoCommand.java @@ -35,7 +35,7 @@ public class McmmoCommand implements CommandExecutor { Player player = (Player) sender; player.sendMessage(ChatColor.RED + "-----[]" + ChatColor.GREEN + "mcMMO" + ChatColor.RED + "[]-----"); - String description = mcLocale.getString("mcMMO.Description", new Object[] { "/mcc" }); + String description = mcLocale.getString("mcMMO.Description", new Object[] { "mcc" }); String[] mcSplit = description.split(","); for (String x : mcSplit) { diff --git a/src/main/java/com/gmail/nossr50/listeners/mcPlayerListener.java b/src/main/java/com/gmail/nossr50/listeners/mcPlayerListener.java index 0cdf73cd8..b1fd8b2df 100644 --- a/src/main/java/com/gmail/nossr50/listeners/mcPlayerListener.java +++ b/src/main/java/com/gmail/nossr50/listeners/mcPlayerListener.java @@ -164,7 +164,7 @@ public class mcPlayerListener implements Listener Player player = event.getPlayer(); if(mcPermissions.getInstance().motd(player) && LoadProperties.enableMotd) { - player.sendMessage(mcLocale.getString("mcPlayerListener.MOTD", new Object[] {plugin.getDescription().getVersion(), "/mcmmo"})); + player.sendMessage(mcLocale.getString("mcPlayerListener.MOTD", new Object[] {plugin.getDescription().getVersion(), "mcmmo"})); player.sendMessage(mcLocale.getString("mcPlayerListener.WIKI")); } //THIS IS VERY BAD WAY TO DO THINGS, NEED BETTER WAY