mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-02-11 20:00:46 +00:00
Fix /tpaccept
timing out requests too soon.
This commit is contained in:
parent
cfc2b7ff2f
commit
3c18efc4a6
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ public class Commandtpaccept extends EssentialsCommand {
|
|||
throw new Exception(tl("noPendingRequest"));
|
||||
}
|
||||
|
||||
if (user.hasOutstandingTeleportRequest()) {
|
||||
if (!user.hasOutstandingTeleportRequest()) {
|
||||
user.requestTeleport(null, false);
|
||||
throw new Exception(tl("requestTimedOut"));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue