fix: the commit before this

This commit is contained in:
Chayapak 2024-11-02 19:30:24 +07:00
parent 0ddf042311
commit e62de655ba
Signed by: ChomeNS
SSH key fingerprint: SHA256:0YoxhdyXsgbc0nfeB2N6FYE60mxMU7DS4uCUMaw2mvA

View file

@ -188,7 +188,7 @@ public class PositionPlugin extends Bot.Listener {
if (bot.serverPluginsManager.hasPlugin(ServerPluginsManagerPlugin.ESSENTIALS)) command += "essentials:"; if (bot.serverPluginsManager.hasPlugin(ServerPluginsManagerPlugin.ESSENTIALS)) command += "essentials:";
command += String.format("tp %s %s %s", position.getX(), maxY - 1, position.getZ()); command += String.format("tp ~ %s ~", maxY - 1);
bot.chat.send(command); bot.chat.send(command);