mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-11-10 22:00:50 +01: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