Skip to content

Commit

Permalink
Fix enchantability getting in Item Stacks dumper
Browse files Browse the repository at this point in the history
  • Loading branch information
mrapplexz committed Apr 17, 2020
1 parent ac6950d commit 354da85
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
org.gradle.jvmargs=-Xmx3G

modVersion=3.1.0
modChangelog=Add Armor dumper
modVersion=3.1.1
modChangelog=Fix enchantability getting in Item Stacks dumper
modDescription=A Minecraft Forge mod that can create dumps of various game stuff, such as blocks, items, entities and many more.
modAcceptedMcVersions=[1.15]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ val DumperItemStacks = dumperTable {
add { getItemStackLimit(stack).toString() }
add { getMaxDamage(stack).toString() }
add { ForgeHooks.getBurnTime(stack).toString() }
add { itemEnchantability.toString() }
add { getItemEnchantability(stack).toString() }
client { add { (Minecraft.getInstance().itemRenderer.itemModelMesher as ItemModelMesherForge).getLocation(stack).toString() } }
if (ModList.get().isLoaded(PROJECTE_ID))
add { if (EMCHelper.doesItemHaveEmc(stack)) EMCHelper.getEmcValue(stack).toString() else "" }
Expand Down

0 comments on commit 354da85

Please sign in to comment.