More Mobs [Data Pack]

More Mobs [Data Pack]

10.5k Downloads

(Minor) (1.19.2 - Fabric / Datapack) Failed to load function more_mobs:general/set_on_fire_1194/exec

natpalmer-e4o4 opened this issue · 1 comments

commented

Describe the bug

I receive the following error when loading a world with the datapack enabled.

[10:52:08] [Render thread/ERROR]: [net.minecraft.class_5349#method_29457] Failed to load function more_mobs:general/set_on_fire_1194/exec
java.util.concurrent.CompletionException: java.lang.IllegalArgumentException: Whilst parsing command on line 5: Incorrect argument for command at position 45: ...aining if <--[HERE]

https://github.com/Tschipcraft/more_mobs/blob/013d030c87e65b14de025c13128ae7480f5748a3/data/more_mobs/functions/general/set_on_fire_1194/exec.mcfunction#L5C172-L5C172

No noticeable impact on functionality, but I'm not sure what purpose this function serves so it may be affecting something. ¯\_(ツ)_/¯

Steps to reproduce

No response

Expected behavior

No response

Additional context

No response

commented

This is an exclusive feature for Minecraft 1.19.4 and up that sets undead mobs with a custom head on fire if they are exposed to sunlight (requested in #3, #4 and #6)
Since this feature uses new commands, Minecraft throws an error in prior versions, everything else is adjusted automatically (setting for it gets hidden, function won't get called), therefore safe to ignore 👍