Carpet

Carpet

2M Downloads

app custom commands disappear after /reload in 20w22a

gnembon opened this issue ยท 3 comments

commented

Considering that /reload should actually reload the apps of just re-register their commands

commented

I thought /reload was only for datapacks?

commented

It's how the code actually works

basically, in each reload you need to re-register commands to the command dispatcher, carpet uses the command dispatcher for adding commands :P

commented

pre 21a - reload was ONLY for datapacks
since 22a - reload is for absolutely everything, including commands
since apps are like datapacks really, reloading datapacks will mean reloading apps as well.

Also a shortcut to clear temporary issues - messed up something, just type /reload.

c584140