summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKHobbits <rob@khobbits.co.uk>2011-12-03 20:44:44 +0000
committerKHobbits <rob@khobbits.co.uk>2011-12-03 20:44:44 +0000
commit621c68bf6e0d2f3ca6145d2c4401ed4174cb5243 (patch)
treedc89d9de91a02114dc5e7772417cf6b35848727d
parent4b876efd77ed2ade26abf5e5695cce06d285442e (diff)
downloadEssentials-621c68bf6e0d2f3ca6145d2c4401ed4174cb5243.tar
Essentials-621c68bf6e0d2f3ca6145d2c4401ed4174cb5243.tar.gz
Essentials-621c68bf6e0d2f3ca6145d2c4401ed4174cb5243.tar.lz
Essentials-621c68bf6e0d2f3ca6145d2c4401ed4174cb5243.tar.xz
Essentials-621c68bf6e0d2f3ca6145d2c4401ed4174cb5243.zip
New command: /more
Test #1189
-rw-r--r--Essentials/src/com/earth2me/essentials/commands/Commandmore.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/Essentials/src/com/earth2me/essentials/commands/Commandmore.java b/Essentials/src/com/earth2me/essentials/commands/Commandmore.java
index 3bf5d4187..3fce3110c 100644
--- a/Essentials/src/com/earth2me/essentials/commands/Commandmore.java
+++ b/Essentials/src/com/earth2me/essentials/commands/Commandmore.java
@@ -1,7 +1,7 @@
package com.earth2me.essentials.commands;
-import com.earth2me.essentials.User;
import static com.earth2me.essentials.I18n._;
+import com.earth2me.essentials.User;
import java.util.Locale;
import org.bukkit.Server;
import org.bukkit.inventory.ItemStack;
@@ -15,9 +15,9 @@ public class Commandmore extends EssentialsCommand
}
@Override
- public void run(Server server, User user, String commandLabel, String[] args) throws Exception
+ public void run(final Server server, final User user, final String commandLabel, final String[] args) throws Exception
{
- ItemStack stack = user.getItemInHand();
+ final ItemStack stack = user.getItemInHand();
if (stack == null)
{
throw new Exception(_("cantSpawnItem", "Air"));