mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-08-04 19:46:27 +00:00
Allow timeout of /tpa /tpahere requests
Adds new config setting tpa-accept-cancellation Test #781
This commit is contained in:
parent
52b1017bda
commit
95d5217f58
15 changed files with 52 additions and 0 deletions
|
@ -606,4 +606,10 @@ public class Settings implements ISettings
|
|||
}
|
||||
return Priority.Normal;
|
||||
}
|
||||
|
||||
@Override
|
||||
public long getTpaAcceptCancellation()
|
||||
{
|
||||
return config.getLong("tpa-accept-cancellation", 0);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue