mirror of
https://github.com/EssentialsX/Essentials.git
synced 2025-01-10 18:38:18 +01:00
Fix broken output of /itemdb
This commit is contained in:
parent
7802192faa
commit
ab82f550cf
@ -34,7 +34,7 @@ public class Commanditemdb extends EssentialsCommand
|
|||||||
{
|
{
|
||||||
itemStack = ess.getItemDb().get(args[0]);
|
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)
|
if (itemStack.getType() != Material.AIR)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user