Fix /join checking arguments for /leave

This commit is contained in:
Marco Cunha committed 2012-08-25 00:09:45 +02:00
1 parent aba3ce1303
commit 39b429c370
1 file changed
+1 -1
@@ -34,7 +34,7 @@ public class JoinCommand implements CommandExecutor {
Player player = ((Player)sender);
String name = null;
if (label.equalsIgnoreCase("leave")){
if (label.equalsIgnoreCase("join")){
name = args[0];
} else {
name = args[1];