mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-22 21:26:46 +01:00
Fixed typos in MOTD & /mcmmo
There was an extra slash in there...
This commit is contained in:
parent
4ffb20f3bb
commit
44e954efeb
@ -35,7 +35,7 @@ public class McmmoCommand implements CommandExecutor {
|
|||||||
Player player = (Player) sender;
|
Player player = (Player) sender;
|
||||||
|
|
||||||
player.sendMessage(ChatColor.RED + "-----[]" + ChatColor.GREEN + "mcMMO" + ChatColor.RED + "[]-----");
|
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(",");
|
String[] mcSplit = description.split(",");
|
||||||
|
|
||||||
for (String x : mcSplit) {
|
for (String x : mcSplit) {
|
||||||
|
@ -164,7 +164,7 @@ public class mcPlayerListener implements Listener
|
|||||||
Player player = event.getPlayer();
|
Player player = event.getPlayer();
|
||||||
if(mcPermissions.getInstance().motd(player) && LoadProperties.enableMotd)
|
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"));
|
player.sendMessage(mcLocale.getString("mcPlayerListener.WIKI"));
|
||||||
}
|
}
|
||||||
//THIS IS VERY BAD WAY TO DO THINGS, NEED BETTER WAY
|
//THIS IS VERY BAD WAY TO DO THINGS, NEED BETTER WAY
|
||||||
|
Loading…
Reference in New Issue
Block a user