You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I recently implemented some fun advancements in to my game and noticed that they worked before joining a game, but not during the game or after it ended until I rejoined or the server restarted. I was able to band-aid fix this by putting this snippet in the addPlayer and removePlayer methods for my game: player.getAdvancementTracker().reload(gameSpace.getServer().getAdvancementLoader());
It would be ideal if there were a toggle for this advancement blocking while in game (much like there is toggles for other things such as portals) (it doesn't work for all advancement triggers at the moment, only some, so it would have to be rewritten for that anyway), however they should certainly at least work after a player leaves a game by default.
The text was updated successfully, but these errors were encountered:
I recently implemented some fun advancements in to my game and noticed that they worked before joining a game, but not during the game or after it ended until I rejoined or the server restarted. I was able to band-aid fix this by putting this snippet in the addPlayer and removePlayer methods for my game:
player.getAdvancementTracker().reload(gameSpace.getServer().getAdvancementLoader());
It would be ideal if there were a toggle for this advancement blocking while in game (much like there is toggles for other things such as portals) (it doesn't work for all advancement triggers at the moment, only some, so it would have to be rewritten for that anyway), however they should certainly at least work after a player leaves a game by default.
The text was updated successfully, but these errors were encountered: