mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-04-26 08:29:44 +00:00
I spied some more big Booleans.
This commit is contained in:
parent
aa1205f42d
commit
40271f2ddf
3 changed files with 4 additions and 4 deletions
|
@ -26,7 +26,7 @@ public class Commandexp extends EssentialsCommand
|
|||
{
|
||||
if (args.length == 3 && user.isAuthorized("essentials.exp.set.others"))
|
||||
{
|
||||
Boolean foundUser = false;
|
||||
boolean foundUser = false;
|
||||
for (Player matchPlayer : server.matchPlayer(args[1]))
|
||||
{
|
||||
User target = ess.getUser(matchPlayer);
|
||||
|
@ -45,7 +45,7 @@ public class Commandexp extends EssentialsCommand
|
|||
{
|
||||
if (args.length == 3 && user.isAuthorized("essentials.exp.give.others"))
|
||||
{
|
||||
Boolean foundUser = false;
|
||||
boolean foundUser = false;
|
||||
for (Player matchPlayer : server.matchPlayer(args[1]))
|
||||
{
|
||||
User target = ess.getUser(matchPlayer);
|
||||
|
|
|
@ -55,7 +55,7 @@ public class Commandptime extends EssentialsCommand
|
|||
Long ticks;
|
||||
// Parse the target time int ticks from args[0]
|
||||
String timeParam = args[0];
|
||||
Boolean relative = true;
|
||||
boolean relative = true;
|
||||
if (timeParam.startsWith("@"))
|
||||
{
|
||||
relative = false;
|
||||
|
|
|
@ -98,7 +98,7 @@ public class Commandunlimited extends EssentialsCommand
|
|||
}
|
||||
|
||||
String message = "disableUnlimited";
|
||||
Boolean enableUnlimited = false;
|
||||
boolean enableUnlimited = false;
|
||||
if (!target.hasUnlimited(stack))
|
||||
{
|
||||
message = "enableUnlimited";
|
||||
|
|
Loading…
Reference in a new issue