mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-22 05:06:45 +01:00
Remove the ptp request after using /ptp accept
This commit is contained in:
parent
9cf322ca0b
commit
1e738263bc
@ -112,9 +112,9 @@ public class PtpCommand implements CommandExecutor {
|
|||||||
}
|
}
|
||||||
|
|
||||||
target = mcMMOPlayer.getPtpRequest();
|
target = mcMMOPlayer.getPtpRequest();
|
||||||
|
mcMMOPlayer.removePtpRequest();
|
||||||
|
|
||||||
if (!canTeleport(target.getName())) {
|
if (!canTeleport(target.getName())) {
|
||||||
mcMMOPlayer.removePtpRequest();
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user