Script crash in Twilight Forest
Efimero opened this issue ยท 0 comments
Mod Version: 1.16.4-4.0.4.2
Forge Version: 36.1.0
Link to client & crash log: https://gist.github.com/Efimero/a089e56715cd78daae168aaa93e90627
Description:
Walking through the Twilight Dimension causes the server to crash (not the client) with a script error that seems to come from one of the random block sounds. Looks like you put parens on a property, but I can't find where in the repo. *shrug* good luck =3
[01Jun2021 09:17:33.005] [Render thread/ERROR] [DynamicSurroundings/Lib]: Error execution script: dim.name() == 'twilight_forest' && (weather.isNotRaining() && (diurnal.isNight() || diurnal.isSunset()) && !(biome.is('hot') || weather.canWaterFreeze()))
[01Jun2021 09:17:33.006] [Render thread/INFO] [STDERR/]: [org.orecruncher.lib.logging.ModLog:error:162]: javax.script.ScriptException: TypeError: dim.name is not a function in <eval> at line number 1
[01Jun2021 09:17:33.006] [Render thread/INFO] [STDERR/]: [org.orecruncher.lib.logging.ModLog:error:162]: at jdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:470)