-
-
Notifications
You must be signed in to change notification settings - Fork 9
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Modpack (Optional)
N/A
Game log
N/A
Description
Apparently, MathHelper.roundUpToPowerOfTwo
is a client-only method, which causes a crash when the library is used on a server (or with ./gradlew runServer
). I discovered this while testing server-side compatibility for ArchaicFix.
private static final int NUM_X_BITS = 1 + MathHelper.calculateLogBaseTwo(MathHelper.roundUpToPowerOfTwo(30000000)); |
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working