Archived
0

Fixed bug where you couln't tp yourself to a set of cords, if you do...

`/tp yourname x y z`
This commit is contained in:
Minenash
2019-01-09 17:43:48 -05:00
parent aeaa5e83b0
commit cfd8de0e49

View File

@@ -50,8 +50,6 @@ public class Teleport implements Module, Listener
if (p == null)
playerDoesNotExistError(sender, player);
else if (sender.getName().equals(p.getName()))
cannotTpToYourself(sender);
else {
p.teleport(new Location(p.getWorld(), x, y, z), TeleportCause.COMMAND);
getLogger().message(sender, "Teleported &e" + p.getDisplayName() +