mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2024-11-17 07:14:51 +00:00
57c72711bb
The two mod loaders expose different methods for this (Forge's method takes a ItemPropertyFunction, Fabric's a ClampedItemPropertyFunction). This is fine in a Gradle build, as the methods are compatible. However, when running from IntelliJ, we get crashes as the common code tries to reference the wrong method. We now pass in the method reference instead, ensuring we use the right method on each loader. |
||
---|---|---|
.. | ||
src | ||
build.gradle.kts |