Carpet

Carpet

2M Downloads

[Bug][Scarpet] Crash on accessing biome(block, 'foliage_color')

Crec0 opened this issue ยท 2 comments

commented

Issue
Earlier report #870 fixed the issue but with the carpet release 1.4.41 and onward (didn't test before them) all features work fine but 'foliage_color'. When accessing foliage_color, it will crash the server. WAI in single player

Crash report
crash_report.txt

commented

Looks like you were on a dedicated server and the server tried to access client-side code, causing the crash.

net.minecraft.class_1926 is the same as net.minecraft.client.color.world.FoliageColors, which is marked as @Environment(CLIENT) within the Fabric Yarn API documentation.

commented

yeah, client function. Thanks for noticing that