added tele to teleport commands

master
Joey Hines 2018-09-22 22:42:08 -05:00
parent 85391029dc
commit b796e3d667
1 changed files with 1 additions and 1 deletions

View File

@ -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());