[1.12.2] Crafttweaker integration broke again
MineWitherMC opened this issue ยท 4 comments
Hello!
I'm trying to add CT recipe for Forging Hammer like following:
import mods.logistics.hammer as Forging;
Forging.addRecipe(ingot_tempered * 8, item_elemental_core);
(these are global variables) and I get this error:
ERROR: no such member: hammer
I'm using Forge-14.23.4.2759
, CraftTweaker2-1.12.2-4.1.9
, SonarCore-1.12.2-5.0.16-16
and practicallogistics2-1.12.2-3.0.4
.
I'm getting [CHAT] ERROR: system: hammer is already defined in that package
.
This looks to be caused by the Hammer class being registered twice to CraftTweaker.
Prior to 3.0.5, the issue was as mentioned above, and was caused by the hammer class being registered far too late for anything done in CraftTweaker. Adding the @ZenRegister
annotation will register it at the proper time now, but its also being registered later during postLoad
I would recommend removing
Practical-Logistics-2/src/main/java/sonar/logistics/PL2.java
Lines 114 to 117 in 37f8e05
This just started to show up on me as well even on the new version of forge
Hey
Im also having this issue with "[CHAT] ERROR: system: hammer is already defined in that package"