Waystones (Fabric Edition)

Waystones (Fabric Edition)

3M Downloads

Parsing error messages are unclear

Adirelle opened this issue ยท 0 comments

commented

Security Notice

  • Users might post VIRUS LINKS in comment responses to issue reports. DO NOT DOWNLOAD ANY FILES FROM HERE.

Minecraft Version

1.21.1

Mod Loader

Fabric

Mod Loader Version

0.16.5

Mod Version

21.1.4

Balm Version

21.0.19

Describe the Issue

Setting the following warpRequirements in the configuration file causes the mod to emit an error message that is quite unclear.

warpRequirements = [
    "[source_is_waystone] add_cooldown(waystones, 60)",
    "[source_is_portstone] add_cooldown(waystones, 60)",
    "[source_is_sharestone] add_cooldown(waystones, 60)",
    "[source_is_not_warp_plate, source_is_not_waystone, source_is_not_portstone, source_is_not_sharestone] add_cooldown(items, 900)",
]

Exemple error message:

[13:47:17] [Render thread/ERROR]: Could not parse warp requirement
java.lang.IllegalArgumentException: Invalid format for requirement modifier: ''

From that error message I cannot know which requirement causes the error nor which part (location in the string) of that requirement is invalid.

Would it possible to have at least the complete invalid string and the error location within that string?

Logs

https://mclo.gs/7kus6Yp

Do you use any performance-enhancing mods (e.g. OptiFine) or custom server distributions (e.g. SpongeForge or Arclight)?

None