Skip to content

fix: OrbisGuard compatibility#9

Merged
KabanFriends merged 1 commit into
IroriPowered:pre-releasefrom
Xytronix:orbisguard
May 26, 2026
Merged

fix: OrbisGuard compatibility#9
KabanFriends merged 1 commit into
IroriPowered:pre-releasefrom
Xytronix:orbisguard

Conversation

@Xytronix
Copy link
Copy Markdown
Collaborator

Summary

prioritizeLocalModClass didn't load from the mod jar, this fixes the issue experienced below with OrbisGuard.

Related issues

[2026/05/26 06:36:23 SEVERE]                 [OrbisGuard|P] Failed to setup plugin OrbisGuard:OrbisGuard
java.lang.NoSuchMethodError: 'void com.orbisguard.mixins.CommandProtectionHook.register(com.orbisguard.mixins.CommandProtectionHook)'
        at ThirdParty(OrbisGuard:OrbisGuard)//com.orbisguard.systems.CommandProtectionHookImpl.register(CommandProtectionHookImpl.java:126)
        at ThirdParty(OrbisGuard:OrbisGuard)//com.orbisguard.OrbisGuardPlugin.registerMixinHooks(OrbisGuardPlugin.java:803)
        at ThirdParty(OrbisGuard:OrbisGuard)//com.orbisguard.OrbisGuardPlugin.setup(OrbisGuardPlugin.java:247)
        at Hyinit//com.hypixel.hytale.server.core.plugin.PluginBase.setup0(PluginBase.java:390)
        at Hyinit//com.hypixel.hytale.server.core.plugin.PluginManager.setup(PluginManager.java:976)
        at Hyinit//com.hypixel.hytale.server.core.plugin.PluginManager.setup(PluginManager.java:313)
        at Hyinit//com.hypixel.hytale.server.core.HytaleServer.boot(HytaleServer.java:398)
        at Hyinit//com.hypixel.hytale.server.core.HytaleServer.<init>(HytaleServer.java:356)
        at Hyinit//com.hypixel.hytale.LateMain.lateMain(LateMain.java:58)
        at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
        at java.base/java.lang.reflect.Method.invoke(Method.java:565)
        at Hyinit//com.hypixel.hytale.Main.launchWithTransformingClassLoader(Main.java:64)
        at Hyinit//com.hypixel.hytale.Main.main(Main.java:40)
        at cc.irori.hyinit.Main.lambda$main$1(Main.java:101)
        at java.base/java.lang.Thread.run(Thread.java:1474)

Type of change

  • Bug fix (non-breaking)
  • New feature (non-breaking)
  • Breaking change (requires documentation/migration)
  • Chore / refactor
  • Documentation only

Implementation details

super.loadClass replaced with super.findClass to bypass delegation

Checklist

  • Code compiles successfully
  • Pull request does not contain unrelated changes
  • Changes follow this project's code style (Use spotlessApply when necessary)
  • Changes are tested or will be tested after submission

Additional info

Tested with latest OrbisGuard 0.5.0

@KabanFriends
Copy link
Copy Markdown
Contributor

LGTM; merging

@KabanFriends KabanFriends merged commit b620d7a into IroriPowered:pre-release May 26, 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.

2 participants