AbdElAziz333 / Canary

A performance mod designed to optimize Minecraft's general performance and unofficial fork of Lithium mod for Minecraft Forge.
https://www.curseforge.com/minecraft/mc-mods/canary
GNU Lesser General Public License v3.0
41 stars 3 forks source link

Latest canary version causes crash when creating fluids using KubeJS #147

Closed TheDrOfDoctoring closed 1 year ago

TheDrOfDoctoring commented 1 year ago

Version Information

Canary-mc1.19.2-0.2.2 Relevant KubeJS and architectury versions: kubejs-forge-1902.6.0-build.142, architectury-6.5.8.2-forge

Expected Behavior

Registering fluids with KubeJS and Canary shouldn't crash the game

Actual Behavior

Registering fluids with KubeJS crashes the game with latest canary version, which does not occur on canary 0.2.0

Reproduction Steps

1 - Add this script to a file in the startup scripts folder of KubeJS (Directory is packfolder/kubejs/startup_scripts):

StartupEvents.registry("fluid", event => {
    event.create('soul_fluid')
    .displayName('Soul Fluid')
    .thickTexture(0xFFFFFF)
    .bucketColor(0xFFFFFF))
})

2 - Game will crash with similar crash report on launch to the one attached. This does not occur with version 0.2.0 of canary.

Other Information

crash-2023-05-24_11.51.24-client.txt

AbdElAziz333 commented 1 year ago

can you use this? 1.19.2

TheDrOfDoctoring commented 1 year ago

Fixed, thanks!