summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKHobbits <rob@khobbits.co.uk>2012-06-11 00:14:19 +0100
committerKHobbits <rob@khobbits.co.uk>2012-06-11 00:14:19 +0100
commit40271f2ddf959ef41e96be03b494f760255d743e (patch)
tree0a41ae4e8b2b4980f008b80a424c4c6acfdc6074
parentaa1205f42d81082fb6657f23975030d20d87b752 (diff)
downloadEssentials-40271f2ddf959ef41e96be03b494f760255d743e.tar
Essentials-40271f2ddf959ef41e96be03b494f760255d743e.tar.gz
Essentials-40271f2ddf959ef41e96be03b494f760255d743e.tar.lz
Essentials-40271f2ddf959ef41e96be03b494f760255d743e.tar.xz
Essentials-40271f2ddf959ef41e96be03b494f760255d743e.zip
I spied some more big Booleans.
-rw-r--r--Essentials/src/com/earth2me/essentials/commands/Commandexp.java4
-rw-r--r--Essentials/src/com/earth2me/essentials/commands/Commandptime.java2
-rw-r--r--Essentials/src/com/earth2me/essentials/commands/Commandunlimited.java2
3 files changed, 4 insertions, 4 deletions
diff --git a/Essentials/src/com/earth2me/essentials/commands/Commandexp.java b/Essentials/src/com/earth2me/essentials/commands/Commandexp.java
index 22976ff92..9c16041e1 100644
--- a/Essentials/src/com/earth2me/essentials/commands/Commandexp.java
+++ b/Essentials/src/com/earth2me/essentials/commands/Commandexp.java
@@ -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);
diff --git a/Essentials/src/com/earth2me/essentials/commands/Commandptime.java b/Essentials/src/com/earth2me/essentials/commands/Commandptime.java
index 738b8db1a..866846733 100644
--- a/Essentials/src/com/earth2me/essentials/commands/Commandptime.java
+++ b/Essentials/src/com/earth2me/essentials/commands/Commandptime.java
@@ -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;
diff --git a/Essentials/src/com/earth2me/essentials/commands/Commandunlimited.java b/Essentials/src/com/earth2me/essentials/commands/Commandunlimited.java
index beff6a77b..585fec3b3 100644
--- a/Essentials/src/com/earth2me/essentials/commands/Commandunlimited.java
+++ b/Essentials/src/com/earth2me/essentials/commands/Commandunlimited.java
@@ -98,7 +98,7 @@ public class Commandunlimited extends EssentialsCommand
}
String message = "disableUnlimited";
- Boolean enableUnlimited = false;
+ boolean enableUnlimited = false;
if (!target.hasUnlimited(stack))
{
message = "enableUnlimited";