Failure to run commands from mods via datapacks, until after running the /reload
command.
#3481
Unanswered
Dan-Mizu
asked this question in
Mod Dev Support
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Description
This has been a long standing issue that neither I nor the Cobblemon mod devs have been able to figure out. I have a datapack that runs a command implemented by the Cobblemon mod, but it fails to run (without an error whatsoever other than the
store success score #pokemonfishing:fabric_bug pokemonfishing.temp
command returning false) UNLESS the server administrator runs/reload
.For some reason, the reload command fixes it and the command can then be ran via datapacks without any issue. I have tried setting the
function-permission-level
to 4 and turn onenable-command-blocks
within server properties but neither of those do anything.What could possibly be the issue here? The Cobblemon devs believe the command in question is implemented properly: https://gitlab.com/cable-mc/cobblemon/-/blob/main/common/src/main/kotlin/com/cobblemon/mod/common/command/SpawnPokemon.kt?ref_type=heads
And it doesn't make sense for there to be an issue with the datapack if doing
/reload
fixes it. Is this an internal Fabric bug? To be fair, the Forge platform has the same exact issue but requires several more than one/reload
command to fix it- and the issue rarely ever happens on singleplayer (though it does sometimes happens for some users i believe).Beta Was this translation helpful? Give feedback.
All reactions