summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsnowleo <snowleo@e251c2fe-e539-e718-e476-b85c1f46cddb>2011-04-04 14:40:16 +0000
committersnowleo <snowleo@e251c2fe-e539-e718-e476-b85c1f46cddb>2011-04-04 14:40:16 +0000
commit72b234c84fc23bb57ed738b5496273b1fd23210d (patch)
tree52d6efc4bdbd4a1fba75d69bd1e6662b554febdb
parentabb4a8eeb386c088bd503692549fe5bff8b6396e (diff)
downloadEssentials-72b234c84fc23bb57ed738b5496273b1fd23210d.tar
Essentials-72b234c84fc23bb57ed738b5496273b1fd23210d.tar.gz
Essentials-72b234c84fc23bb57ed738b5496273b1fd23210d.tar.lz
Essentials-72b234c84fc23bb57ed738b5496273b1fd23210d.tar.xz
Essentials-72b234c84fc23bb57ed738b5496273b1fd23210d.zip
[trunk] Unlimited: List unlimited items with /unlimited list <player>
git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1120 e251c2fe-e539-e718-e476-b85c1f46cddb
-rw-r--r--Essentials/src/com/earth2me/essentials/commands/Commandunlimited.java2
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 8ea13a786..682806700 100644
--- a/Essentials/src/com/earth2me/essentials/commands/Commandunlimited.java
+++ b/Essentials/src/com/earth2me/essentials/commands/Commandunlimited.java
@@ -39,7 +39,7 @@ public class Commandunlimited extends EssentialsCommand
for (Integer integer : target.getUnlimited()) {
if (!first) {
sb.append(", ");
- first = true;
+ first = false;
}
String matname = Material.getMaterial(integer).toString().toLowerCase().replace("_", "-");
sb.append(matname);