mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-12 16:27:47 +00:00
Fix NBT ItemStack support in json loader. Closes #4002
This commit is contained in:
1 parent
e16f70f95e
commit
65ec1f5d54
1 file changed
+1
-1
@@ -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);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user