[1.16] Laser Drill produces wrong ore from tag
camerondm9 opened this issue ยท 2 comments
Industrial Foregoing Version: industrial-foregoing-1.16.5-3.2.14.6-14.jar
Titanium Version: titanium-1.16.5-3.2.8.4-10.jar
No crash
I'm playing with Thermal Foundation and Create.
I set [TagConfig].ITEM_PREFERENCE = ["minecraft", "thermal", "create"]
The laser drill is producing copper ore from Create, instead of from Thermal.
Looks like the issue is this line: https://github.com/InnovativeOnlineIndustries/Industrial-Foregoing/blob/1.16/src/main/java/com/buuz135/industrial/block/resourceproduction/tile/OreLaserBaseTile.java#L150
The break statement only breaks the inner loop, and the outer loop continues checking the other modids.