mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-06-25 18:24:43 +02:00
*Actually* fixed exploit with PTP on yourself
This commit is contained in:
@ -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) {
|
||||
|
Reference in New Issue
Block a user