mirror of
https://github.com/EssentialsX/Essentials.git
synced 2024-09-06 04:58:00 +02: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\\.]", ""));
|
double amount = Double.parseDouble(args[1].replaceAll("[^0-9\\.]", ""));
|
||||||
|
|
||||||
Boolean foundUser = false;
|
boolean foundUser = false;
|
||||||
for (Player p : server.matchPlayer(args[0]))
|
for (Player p : server.matchPlayer(args[0]))
|
||||||
{
|
{
|
||||||
User u = ess.getUser(p);
|
User u = ess.getUser(p);
|
||||||
|
@ -38,7 +38,7 @@ public class Commandwhois extends EssentialsCommand
|
|||||||
}
|
}
|
||||||
final String whois = args[0].toLowerCase(Locale.ENGLISH);
|
final String whois = args[0].toLowerCase(Locale.ENGLISH);
|
||||||
final int prefixLength = Util.stripFormat(ess.getSettings().getNicknamePrefix()).length();
|
final int prefixLength = Util.stripFormat(ess.getSettings().getNicknamePrefix()).length();
|
||||||
Boolean foundUser = false;
|
boolean foundUser = false;
|
||||||
for (Player onlinePlayer : server.getOnlinePlayers())
|
for (Player onlinePlayer : server.getOnlinePlayers())
|
||||||
{
|
{
|
||||||
final User user = ess.getUser(onlinePlayer);
|
final User user = ess.getUser(onlinePlayer);
|
||||||
|
Loading…
Reference in New Issue
Block a user