Fix NBT ItemStack support in json loader. Closes #4002

This commit is contained in:
LexManos 2017-06-15 16:07:55 -07:00
parent e16f70f95e
commit 65ec1f5d54
1 changed files with 1 additions and 1 deletions

View File

@ -224,7 +224,7 @@ public class CraftingHelper {
tmp.setTag("tag", nbt);
tmp.setString("id", itemName);
tmp.setInteger("Count", JsonUtils.getInt(json, "count", 1));
tmp.setInteger("Data", JsonUtils.getInt(json, "data", 0));
tmp.setInteger("Damage", JsonUtils.getInt(json, "data", 0));
return new ItemStack(tmp);
}