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
commitecf9952428b04aa3d4ae0c5fde2a912f1178303a (patch)
treea41a2fd0997dbec390ea567bbfe60b11453613a8
parentb15dc794920a819e63655e639c6e667907141f11 (diff)
downloadEssentials-ecf9952428b04aa3d4ae0c5fde2a912f1178303a.tar
Essentials-ecf9952428b04aa3d4ae0c5fde2a912f1178303a.tar.gz
Essentials-ecf9952428b04aa3d4ae0c5fde2a912f1178303a.tar.lz
Essentials-ecf9952428b04aa3d4ae0c5fde2a912f1178303a.tar.xz
Essentials-ecf9952428b04aa3d4ae0c5fde2a912f1178303a.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";