Botania icon indicating copy to clipboard operation
Botania copied to clipboard

With Porting Lib, terrasteel will crit effects always happen

Open Partonetrain opened this issue 1 year ago • 2 comments

Mod Loader

Fabric

Minecraft Version

1.20.1

Botania version

1.20.1-443

Modloader version

Fabric 0.15.10

Modpack info

No response

The latest.log file

n/a

Issue description

When Porting Lib 2.3.4 is installed with Botania-1.20.1-443-FABRIC, the Terrasteel Will crit effects will always happen on hit.

Steps to reproduce

  1. install Porting Lib and Botania
  2. Craft Terrasteel Helmet with obvious crit effect will
  3. normally hit something

Other information

Porting Lib issue: https://github.com/Fabricators-of-Create/Porting-Lib/issues/103

Partonetrain avatar Apr 28 '24 20:04 Partonetrain

As far as I can tell, PortingLib injects a bunch of code into Player::attack, some related to return values of isSprinting(), which I assume hits Botania's injected call to that method (and always returns true) instead of the intended one.

TheRealWormbo avatar Apr 28 '24 20:04 TheRealWormbo

I never would've guessed this was what caused this. I noticed this but couldn't tell what caused it. Can confirm this happens to me using both mods as well. Hopefully this can be fixed.

NolanHewitt avatar May 29 '24 07:05 NolanHewitt

The PortingLib issue was closed as completed. Did that fix this issue as well?

TheRealWormbo avatar Dec 01 '24 11:12 TheRealWormbo

I just took a look, and it actually does seem to be fixed!

NolanHewitt avatar Feb 03 '25 04:02 NolanHewitt