diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 5c09711be1..fefbc82e95 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -16,7 +16,7 @@ worldguard-bukkit = "7.0.17" griefprevention = "18.0.0" griefdefender = "2.1.0-SNAPSHOT" residence = "6.0.2.3" -towny = "0.103.2.14" +towny = "0.103.2.15" plotsquared = "7.6.0" # Third party @@ -34,7 +34,7 @@ antlr4 = "4.13.2" json-simple = "1.1.1" jlibnoise = "1.0.0" jchronic = "0.2.4a" -lz4-java = "1.12.1" +lz4-java = "1.14.0" commons-cli = "1.11.0" paster = "1.1.7" vault = "1.7.1" diff --git a/worldedit-core/src/main/java/com/sk89q/worldedit/command/HistorySubCommands.java b/worldedit-core/src/main/java/com/sk89q/worldedit/command/HistorySubCommands.java index 38fc184150..7c982769fc 100644 --- a/worldedit-core/src/main/java/com/sk89q/worldedit/command/HistorySubCommands.java +++ b/worldedit-core/src/main/java/com/sk89q/worldedit/command/HistorySubCommands.java @@ -414,7 +414,7 @@ public synchronized void find( top = top.clampY(world.getMinY(), world.getMaxY()); long minTime = System.currentTimeMillis() - timeDiff; - Iterable> edits = database.getEdits(other, minTime, bot, top, false, false); + var edits = database.getEdits(other, minTime, bot, top, false, false); history = Lists.newArrayList(edits); player.setMeta(pageCommand, new SoftReference<>(history)); page = 1; @@ -450,11 +450,7 @@ public void distr( SimpleChangeSetSummary summary = edit.summarize(RegionWrapper.GLOBAL(), false); if (summary != null) { List> distr = summary.getBlockDistributionWithData(); - SelectionCommands.BlockDistributionResult distrPages = new SelectionCommands.BlockDistributionResult( - distr, - true, - pageCommand - ); + var distrPages = new SelectionCommands.BlockDistributionResult(distr, true, pageCommand); pages = new PaginationBox.MergedPaginationBox("Block Distribution", pageCommand, pages, distrPages); player.setMeta(pageCommand, new SoftReference<>(pages)); }