Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,7 @@ public synchronized void find(
top = top.clampY(world.getMinY(), world.getMaxY());

long minTime = System.currentTimeMillis() - timeDiff;
Iterable<Supplier<RollbackOptimizedHistory>> 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;
Expand Down Expand Up @@ -450,11 +450,7 @@ public void distr(
SimpleChangeSetSummary summary = edit.summarize(RegionWrapper.GLOBAL(), false);
if (summary != null) {
List<Countable<BlockState>> 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));
}
Expand Down