diff options
author | snowleo <schneeleo@gmail.com> | 2012-08-03 10:02:47 +0200 |
---|---|---|
committer | snowleo <schneeleo@gmail.com> | 2012-08-03 10:02:47 +0200 |
commit | ab82f550cf59c2be52c8cbafbb5f2d42d2ae283e (patch) | |
tree | c7ca0245824222f75464634143e9e75e1470a0b3 | |
parent | 7802192faa0d3d28b1fe8e5906cb141f7569a336 (diff) | |
download | Essentials-ab82f550cf59c2be52c8cbafbb5f2d42d2ae283e.tar Essentials-ab82f550cf59c2be52c8cbafbb5f2d42d2ae283e.tar.gz Essentials-ab82f550cf59c2be52c8cbafbb5f2d42d2ae283e.tar.lz Essentials-ab82f550cf59c2be52c8cbafbb5f2d42d2ae283e.tar.xz Essentials-ab82f550cf59c2be52c8cbafbb5f2d42d2ae283e.zip |
Fix broken output of /itemdb
-rw-r--r-- | Essentials/src/com/earth2me/essentials/commands/Commanditemdb.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Essentials/src/com/earth2me/essentials/commands/Commanditemdb.java b/Essentials/src/com/earth2me/essentials/commands/Commanditemdb.java index 8a408924d..f41c7684f 100644 --- a/Essentials/src/com/earth2me/essentials/commands/Commanditemdb.java +++ b/Essentials/src/com/earth2me/essentials/commands/Commanditemdb.java @@ -34,7 +34,7 @@ public class Commanditemdb extends EssentialsCommand { itemStack = ess.getItemDb().get(args[0]); } - sender.sendMessage(itemStack.getType().toString() + "- " + itemStack.getTypeId() + ":" + Integer.toString(itemStack.getData().getData())); + sender.sendMessage(itemStack.getType().toString() + "- " + itemStack.getTypeId() + ":" + Integer.toString(itemStack.getDurability())); if (itemStack.getType() != Material.AIR) { |