mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-11-05 03:23:44 +01:00
clean up if/else formatting
This commit is contained in:
@@ -265,8 +265,7 @@ public final class CommandUtils {
|
||||
if (matches.size() == 1) {
|
||||
partialName = matches.get(0);
|
||||
}
|
||||
}
|
||||
else {
|
||||
} else {
|
||||
Player player = mcMMO.p.getServer().getPlayer(partialName);
|
||||
|
||||
if (player != null) {
|
||||
|
||||
Reference in New Issue
Block a user