Skip to content

Fixes NoSuchMethodError gregtech.api.interfaces.IIconContainer.getIcon with fancy wrench#50

Merged
Dream-Master merged 1 commit intoGTNewHorizons:masterfrom
alppp:master
Feb 12, 2026
Merged

Fixes NoSuchMethodError gregtech.api.interfaces.IIconContainer.getIcon with fancy wrench#50
Dream-Master merged 1 commit intoGTNewHorizons:masterfrom
alppp:master

Conversation

@alppp
Copy link

@alppp alppp commented Feb 11, 2026

Using the Disassembly Wrench on any multiblock whose structure definition uses ofFrame() (39 GT5 multiblocks including Neutronium Compressor, Tesla Tower, Nano Forge, etc.) crashes the dedicated server with NoSuchMethodError because the hologram scanner ran in hint mode, which calls IIconContainer.getIcon() a @SideOnly(Side.CLIENT) method stripped from the server JAR.

The crash :
crash-2026-02-11_08.01.02-server.txt

The pr fixes the issue.

@cubefury
Copy link

cubefury commented Feb 12, 2026

Hmm what does the hint look like after this change?

edit: I misunderstood, the wrench just uses the structurelib to collect block positions for breaking. Changing the true to false just changes the path for whether it creates hints in the backend or "builds" the multi using fake blocks

Copy link

@cubefury cubefury left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure if the wrenches function correctly after this change, but it stops the server from crashing at least, so im good with this!

@Dream-Master Dream-Master merged commit 0ad90fa into GTNewHorizons:master Feb 12, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants