mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-07-28 01:55:28 +02: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