The Twilight Forest

The Twilight Forest

155M Downloads

[1.21.1] Knightmetal damage calculation erases damage alternation from some other mods

Closed this issue ยท 0 comments

commented

https://github.com/TeamTwilight/twilightforest/blob/ab660fbc6d9717021c30d3568c47f1cc4af844aa/src/main/java/twilightforest/events/ToolEvents.java#L92C40-L92C57

Here, TF is using the original damage instead of current damage as a basis of calculation, causing previous modifications to be erased.

Using getNewDamage() should fix this issue