Closed Kneelawk closed 1 year ago
This is a simple fix. However, a better solution might be to refactor CoreMinecraftNetUtil
into common and client classes so as to make sure no client-sided classes get loaded on a dedicated-server.
This PR is good enough for now and I don't really have time to work on the full refactor for this at the moment.
This PR
This pull-request fixes an issue where
CoreMinecraftNetUtil
would attempt to load client-sided classes on a dedicated-server.Testing
I have tested this patch on a dedicated server with Wired Redstone and have found that it fixed the issue.
Related Issues
This was first mentioned in: https://github.com/Kneelawk/WiredRedstone/issues/10