mirror of
https://github.com/essentials/Essentials.git
synced 2025-09-28 07:09:14 +02:00
Allow timeout of /tpa /tpahere requests
Adds new config setting tpa-accept-cancellation Test #781
This commit is contained in:
@@ -606,4 +606,10 @@ public class Settings implements ISettings
|
||||
}
|
||||
return Priority.Normal;
|
||||
}
|
||||
|
||||
@Override
|
||||
public long getTpaAcceptCancellation()
|
||||
{
|
||||
return config.getLong("tpa-accept-cancellation", 0);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user