ViaFabric

ViaFabric

709k Downloads

A function that is meant to be used client-side is ran on servers

Username404-59 opened this issue ยท 0 comments

commented

Describe the bug, provide any errors

  • The ViaFabric.registerGui() method is getting called on servers, and causes a ClassNotFoundException about the ButtonWidget class, since it isn't meant to be present on servers

Is this happening specifically on ViaFabric?

  • It seems to not happen when using ViaVersion/ViaBackwards/ViaRewind
    on other platforms

How can we reproduce it?

  • Run ViaFabric on a server

Expected behaviour

  • registerGui should probably only be ran in onInitializeClient and not onInitialize