mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-07-31 09:52:57 +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…
Add table
Add a link
Reference in a new issue