Skip to content

fix(assets.saltandsands.blocktypes.coral): change "Liquid" to "Water"#9

Open
BinToss wants to merge 1 commit into
sekelsta:mainfrom
BinToss:fix/EnumBlockMaterial
Open

fix(assets.saltandsands.blocktypes.coral): change "Liquid" to "Water"#9
BinToss wants to merge 1 commit into
sekelsta:mainfrom
BinToss:fix/EnumBlockMaterial

Conversation

@BinToss
Copy link
Copy Markdown

@BinToss BinToss commented May 4, 2026

EnumBlockMaterial.Liquid was renamed to EnumBlockMaterial.Water in VS 1.22.0-pre.1 See anegostudios/vsapi@c8fe818#diff-b48a749df0ec0397e7f291f89ca6ca8e52ca2132f1e8e764fc21efe4a1dd86a0

This solves the errors caused by coral

3.5.2026 22:55:08 [Error] Exception thrown while trying to parse json data of the type with code saltandsands:coral..., variant saltandsands:coral.... Will ignore most of the attributes. Exception:
3.5.2026 22:55:08 [Error] Exception: Error converting value "liquid" to type 'Vintagestory.API.Common.EnumBlockMaterial'. Path 'blockmaterial'.

Fixes #8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Coral blockmaterial must be updated to VS1.22's API

1 participant