Closed TheAfroOfDoom closed 2 months ago
A chat message was added to the setup function so that you'd get direct feedback that the datapack successfully loaded when you ran /reload.
setup
/reload
I wanted to add a test for this in https://github.com/TheAfroOfDoom/omega-flowey-minecraft-remastered/pull/129 but couldn't get it to pass in CI.
The fix was to add the # @dummy test directive so the test server would find a player for the tellraw to have been sent to.
# @dummy
tellraw
In the test client:
test runall
CI passes :)
Summary
A chat message was added to the
setup
function so that you'd get direct feedback that the datapack successfully loaded when you ran/reload
.I wanted to add a test for this in https://github.com/TheAfroOfDoom/omega-flowey-minecraft-remastered/pull/129 but couldn't get it to pass in CI.
The fix was to add the
# @dummy
test directive so the test server would find a player for thetellraw
to have been sent to.Reproducing in-game
In the test client:
Preview
CI passes :)