OkZoomer icon indicating copy to clipboard operation
OkZoomer copied to clipboard

Fabric version incompatible with Kilt

Open BluSpring opened this issue 9 months ago • 3 comments

Hello, I'm the developer for a mod called Kilt, which is a mod designed to load Forge mods in Fabric.

Currently, the Ok Zoomer mod's Fabric build is incompatible with Kilt, due to an NPE crash in WrenchWrapper, where it's detecting Fabric Loader and MinecraftForge, as a safeguard against Sinytra Connector, and as such falls back to Forge, which would crash due to the Forge wrapper not existing.

I would recommend using a service for setting up the platform-based wrappers, as you would be able to set it up on the platform-sided subprojects, but if you don't wish to do so, you can detect for Kilt's presence with the class xyz.bluspring.kilt.Kilt, as I do not plan to change the package anytime soon whatsoever.

BluSpring avatar Apr 07 '25 18:04 BluSpring

Oh, this is concerning; I'll try to figure out a fix that deals with this later; what I do know is: dealing with this will be pretty tricky

I do have plans to replace Wrench Wrapper with an in-house config system, but I have enough problems in my table to leave it as low priority for now; maybe I could redesign Wrench Wrapper? But it's also something that I really don't want to do right now either

EnnuiL avatar Apr 07 '25 20:04 EnnuiL

Up has made a fix for Ok Zoomer 1.20.1 but I really don't want to port it to other versions since I consider it to be a hacky fix that dirties the code workspace a bit.

I heavily considered reverting it, but I'll likely keep it for the next update if needed. The Rebirth Update: Part 2 might target this issue by removing Wrench Wrapper, but it will require a lot of effort that unfortunately I cannot dedicate right now.

TL;DR: A fix will be pushed the next time I update this mod

EnnuiL avatar Jun 30 '25 23:06 EnnuiL

Hi! I have done a major update to Wrench Wrapper (0.7.2) that should fix this issue in theory

I'll likely update the other versions (1.20.1 and 1.21.1) once I do the 1.21.11 port, I'll let you know when that happens

EnnuiL avatar Nov 21 '25 16:11 EnnuiL