1
0
mirror of https://github.com/mcMMO-Dev/mcMMO.git synced 2026-02-20 18:53:11 +01:00

Remove the ptp request after using /ptp accept

This commit is contained in:
TfT_02
2013-03-05 00:30:48 +01:00
parent 9cf322ca0b
commit 1e738263bc

View File

@@ -112,9 +112,9 @@ public class PtpCommand implements CommandExecutor {
}
target = mcMMOPlayer.getPtpRequest();
mcMMOPlayer.removePtpRequest();
if (!canTeleport(target.getName())) {
mcMMOPlayer.removePtpRequest();
return true;
}