diff options
author | snowleo <schneeleo@gmail.com> | 2011-07-20 16:44:51 -0700 |
---|---|---|
committer | snowleo <schneeleo@gmail.com> | 2011-07-20 16:44:51 -0700 |
commit | 1c88ad3f90651a8cade62a08f9a6ae81f75adb38 (patch) | |
tree | a8e16485fac729f71a2798954ab0255244ba5d9e | |
parent | 1f127a7775c828c722f902c8a5d82a7af912956c (diff) | |
parent | f522e31909792b55a6c4661063eb6d5d99b580e3 (diff) | |
download | Essentials-1c88ad3f90651a8cade62a08f9a6ae81f75adb38.tar Essentials-1c88ad3f90651a8cade62a08f9a6ae81f75adb38.tar.gz Essentials-1c88ad3f90651a8cade62a08f9a6ae81f75adb38.tar.lz Essentials-1c88ad3f90651a8cade62a08f9a6ae81f75adb38.tar.xz Essentials-1c88ad3f90651a8cade62a08f9a6ae81f75adb38.zip |
Merge pull request #15 from khobbits/patch-3
Not sure how well this would work, but its probably worth giving the user at least two of the item to combat client lag, if you try and build something with unlimited, but you only have 1 item, client lag prevents you from doing so quickly, because you need to wait for the server to give you back the item.
-rw-r--r-- | Essentials/src/com/earth2me/essentials/commands/Commandunlimited.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Essentials/src/com/earth2me/essentials/commands/Commandunlimited.java b/Essentials/src/com/earth2me/essentials/commands/Commandunlimited.java index cc519113c..7eb1e8f9d 100644 --- a/Essentials/src/com/earth2me/essentials/commands/Commandunlimited.java +++ b/Essentials/src/com/earth2me/essentials/commands/Commandunlimited.java @@ -55,7 +55,7 @@ public class Commandunlimited extends EssentialsCommand return; } - ItemStack stack = ess.getItemDb().get(args[0], 1); + ItemStack stack = ess.getItemDb().get(args[0], 2); String itemname = stack.getType().toString().toLowerCase().replace("_", ""); if (!user.isAuthorized("essentials.unlimited.item-all") |