Update guava to match MC 1.18 guava.

This commit is contained in:
wizjany 2021-11-30 20:42:54 -05:00
parent 2541483ebc
commit 703146bc18
2 changed files with 4 additions and 4 deletions

View File

@ -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"
}

View File

@ -226,7 +226,7 @@ public class WorldGuardCommands {
}
}, 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 class WorldGuardCommands {
@Override
public void onFailure(Throwable throwable) {
}
});
}, MoreExecutors.directExecutor());
}
@Command(aliases = {"stopprofile"}, usage = "",desc = "Stop a running profile", min = 0, max = 0)