From e62de655ba9701cc898553d8f77008399b37e69d Mon Sep 17 00:00:00 2001 From: ChomeNS <95471003+ChomeNS@users.noreply.github.com> Date: Sat, 2 Nov 2024 19:30:24 +0700 Subject: [PATCH] fix: the commit before this --- .../java/me/chayapak1/chomens_bot/plugins/PositionPlugin.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/me/chayapak1/chomens_bot/plugins/PositionPlugin.java b/src/main/java/me/chayapak1/chomens_bot/plugins/PositionPlugin.java index 6564f33..95efe62 100644 --- a/src/main/java/me/chayapak1/chomens_bot/plugins/PositionPlugin.java +++ b/src/main/java/me/chayapak1/chomens_bot/plugins/PositionPlugin.java @@ -188,7 +188,7 @@ public class PositionPlugin extends Bot.Listener { 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);