mirror of
https://github.com/EssentialsX/Essentials.git
synced 2025-02-25 16:51:54 +01:00
i should prefer boolean to Boolean.
This commit is contained in:
parent
2e15de483d
commit
aa1205f42d
@ -29,7 +29,7 @@ public class Commandpay extends EssentialsCommand
|
||||
|
||||
double amount = Double.parseDouble(args[1].replaceAll("[^0-9\\.]", ""));
|
||||
|
||||
Boolean foundUser = false;
|
||||
boolean foundUser = false;
|
||||
for (Player p : server.matchPlayer(args[0]))
|
||||
{
|
||||
User u = ess.getUser(p);
|
||||
|
@ -38,7 +38,7 @@ public class Commandwhois extends EssentialsCommand
|
||||
}
|
||||
final String whois = args[0].toLowerCase(Locale.ENGLISH);
|
||||
final int prefixLength = Util.stripFormat(ess.getSettings().getNicknamePrefix()).length();
|
||||
Boolean foundUser = false;
|
||||
boolean foundUser = false;
|
||||
for (Player onlinePlayer : server.getOnlinePlayers())
|
||||
{
|
||||
final User user = ess.getUser(onlinePlayer);
|
||||
|
Loading…
Reference in New Issue
Block a user