From b796e3d66761a94ee5461a5da4a5701fd69c2bff Mon Sep 17 00:00:00 2001 From: Joey Hines Date: Sat, 22 Sep 2018 22:42:08 -0500 Subject: [PATCH] added tele to teleport commands --- .../xyz/etztech/qol/listeners/CommandPreprocessListener.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/xyz/etztech/qol/listeners/CommandPreprocessListener.java b/src/main/java/xyz/etztech/qol/listeners/CommandPreprocessListener.java index 1593250..4e85829 100644 --- a/src/main/java/xyz/etztech/qol/listeners/CommandPreprocessListener.java +++ b/src/main/java/xyz/etztech/qol/listeners/CommandPreprocessListener.java @@ -42,7 +42,7 @@ public class CommandPreprocessListener implements Listener { boolean isTpCommand = false; //check if the command is a tp command - if (noSlash(base).equals("tp") || noSlash(base).equals("teleport") || noSlash(command).startsWith("lagg tpchunk")) { + if (noSlash(base).equals("tp") || noSlash(base).startsWith("tele") || noSlash(command).startsWith("lagg tpchunk")) { //If the user is in the confirm tp map, remove them and let the command run if (command.equals(confirmTpMap.get(sender.getUniqueId()))) { confirmTpMap.remove(sender.getUniqueId());