Skip to content
Success

Changes

Summary

  1. Fix crash during galaxy generation when no natives are registered (commit: ee31b2e) (details)
Commit ee31b2e9238dcaae82f91373ab50b97620c8d583 by Geolykt
Fix crash during galaxy generation when no natives are registered

This is generally not the case, but at times people may wish to
play without natives. In vanilla galimulator this would yield a
`java.lang.IllegalArgumentException: n must be positive` from the
RandomXS128 class, but this commit fixes this behaviour in modded
galimulator if SLAPI is being used (so pretty much all cases).
(commit: ee31b2e)
The file was modifiedsrc/main/java/de/geolykt/starloader/impl/registry/StateActorFactoryRegistry.java (diff)
The file was modifiedsrc/main/resources/api-mixins.json (diff)
The file was addedsrc/main/java/de/geolykt/starloader/apimixins/NativeMixins.java