Teleport to spawn / Teleport to random location not working
marekvac opened this issue ยท 1 comments
Noticed this issue in video from streamer MarweX Link with timestamp
Then tested by myself with console output.
19:53:27.841 me.juancarloscp52.entropy.Entropy Server thread [Chat Integrations] Winner event: entropy.events.FarRandomTPEvent
19:53:27.843 org.pircbotx.output.OutputRaw Render thread PRIVMSG #marcuscz3 :/me [Entropy Bot] Current poll:[ 1 - DVD Screen Saver ] [ 2 - Teleport Player To A Random Location ] [ 3 - Teleport To Spawn ] [ 4 - Random Event ]
19:53:27.844 net.minecraft.server.MinecraftServer Server thread Unknown or incomplete command, see below for error
19:53:27.845
net.minecraft.server.MinecraftServer Server thread /spreadplayers 306 9188 0 120 false MarcusCZ<--[HERE]
19:53:27.846 me.juancarloscp52.entropy.Entropy Server thread New Event: entropy.events.FarRandomTPEvent total duration: 0
Seems like there is an issue while mod executes command /spreadplayers
Tested in 1.19, but watching streamer's older videos, the issue is also in 1.18 version.
Ok, I did a little research and the reason why there is the issue with the command is that method net.minecraft.server.command.ComandManager.execute
returning "/" + command, so the final command looks //spreadplayers ....
So to fix you simply need to remove the "/" from beginning of your commands.