mirror of
https://github.com/EngineHub/WorldGuard.git
synced 2025-02-28 18:21:20 +01:00
Update guava to match MC 1.18 guava.
This commit is contained in:
parent
2541483ebc
commit
703146bc18
@ -1,9 +1,9 @@
|
||||
object Versions {
|
||||
// const val PISTON = "0.4.3"
|
||||
// const val AUTO_VALUE = "1.6.5"
|
||||
const val WORLDEDIT = "7.2.6-SNAPSHOT"
|
||||
const val WORLDEDIT = "7.2.7"
|
||||
const val JUNIT = "5.7.0"
|
||||
const val SQUIRRELID = "0.3.0"
|
||||
const val GUAVA = "21.0"
|
||||
const val GUAVA = "31.0.1-jre"
|
||||
const val MOCKITO = "3.7.7"
|
||||
}
|
||||
|
@ -226,7 +226,7 @@ public void profile(final CommandContext args, final Actor sender) throws Comman
|
||||
}
|
||||
}, MoreExecutors.directExecutor());
|
||||
|
||||
Futures.addCallback(sampler.getFuture(), new FutureCallback<Sampler>() {
|
||||
Futures.addCallback(sampler.getFuture(), new FutureCallback<>() {
|
||||
@Override
|
||||
public void onSuccess(Sampler result) {
|
||||
String output = result.toString();
|
||||
@ -247,7 +247,7 @@ public void onSuccess(Sampler result) {
|
||||
@Override
|
||||
public void onFailure(Throwable throwable) {
|
||||
}
|
||||
});
|
||||
}, MoreExecutors.directExecutor());
|
||||
}
|
||||
|
||||
@Command(aliases = {"stopprofile"}, usage = "",desc = "Stop a running profile", min = 0, max = 0)
|
||||
|
Loading…
Reference in New Issue
Block a user