*Actually* fixed exploit with PTP on yourself

This commit is contained in:
nossr50
2012-04-27 02:25:23 -07:00
parent 8dec24693c
commit ac35f002f1
2 changed files with 2 additions and 0 deletions

View File

@ -53,6 +53,7 @@ public class PtpCommand implements CommandExecutor {
if (player.equals(target)) {
player.sendMessage("You can't teleport to yourself!"); //TODO: Use locale
return true;
}
if (target == null) {