Tschipcraft / more_mobs

Humanoid mobs get new variants through over 85 custom player heads or unused vanilla mobs! No Resource Pack needed!
https://tschipcraft.ddns.net/more_mobs.html
Other
4 stars 0 forks source link

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

Open natpalmer-e4o4 opened 7 months ago

natpalmer-e4o4 commented 7 months ago

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

Tschipcraft commented 7 months ago

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 👍