When you watch a replay, while having mutliverse inventories, per-world or per-gamemode, enabled
if you change world (even by teleporting to said player) or gamemode, the replay items are gone, if you are to stop it through the command and return to the original world, your ITEMS are gone and replaced with the replay stuff
There are 2 solutions that i can think of
A. Use a seperate "replay" world where you let players go just to watch replays, using client packets im sure you can make it so everyone is in the same world and can only see their own replay
B. Add a backup, or find a way to pause mutliverse inventories, or prevent the player from running these commands (PlayerCommandPreprocessEvent, then cancel maybe), and on world change undo the replay inventory, move the player, then redo it
When you watch a replay, while having mutliverse inventories, per-world or per-gamemode, enabled
if you change world (even by teleporting to said player) or gamemode, the replay items are gone, if you are to stop it through the command and return to the original world, your ITEMS are gone and replaced with the replay stuff
There are 2 solutions that i can think of
A. Use a seperate "replay" world where you let players go just to watch replays, using client packets im sure you can make it so everyone is in the same world and can only see their own replay
B. Add a backup, or find a way to pause mutliverse inventories, or prevent the player from running these commands (PlayerCommandPreprocessEvent, then cancel maybe), and on world change undo the replay inventory, move the player, then redo it
if i can add any infomation please let me know