mirror of
https://github.com/darksaid98/TownyChat.git
synced 2026-12-02 14:38:57 +00:00
Fix /join checking arguments for /leave
This commit is contained in:
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];
|
||||
|
||||
Reference in new issue
Block a user