mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2026-01-23 17:35:05 +01:00
Compare commits
1 Commits
renovate/w
...
fix/v7/syn
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f8e9b32c0b |
@@ -389,7 +389,7 @@ public class SQLManager implements AbstractDB {
|
||||
}
|
||||
}
|
||||
|
||||
public boolean sendBatch() {
|
||||
public synchronized boolean sendBatch() {
|
||||
try {
|
||||
if (!getGlobalTasks().isEmpty()) {
|
||||
if (this.connection.getAutoCommit()) {
|
||||
|
||||
@@ -391,8 +391,7 @@ public abstract class PlotPlayer<P> implements CommandCaller, OfflinePlotPlayer,
|
||||
int count = 0;
|
||||
for (PlotArea area : this.plotAreaManager.getPlotAreasSet(world)) {
|
||||
if (!Settings.Done.COUNTS_TOWARDS_LIMIT) {
|
||||
count +=
|
||||
area.getPlotsAbs(uuid).stream().filter(plot -> !DoneFlag.isDone(plot)).count();
|
||||
count += area.getPlotsAbs(uuid).stream().filter(plot -> !DoneFlag.isDone(plot)).count();
|
||||
} else {
|
||||
count += area.getPlotsAbs(uuid).size();
|
||||
}
|
||||
|
||||
@@ -73,8 +73,8 @@ subprojects {
|
||||
|
||||
dependencies {
|
||||
// Tests
|
||||
testImplementation("org.junit.jupiter:junit-jupiter:6.0.2")
|
||||
testRuntimeOnly("org.junit.platform:junit-platform-launcher:6.0.2")
|
||||
testImplementation("org.junit.jupiter:junit-jupiter:6.0.1")
|
||||
testRuntimeOnly("org.junit.platform:junit-platform-launcher:6.0.1")
|
||||
}
|
||||
|
||||
plugins.withId("java") {
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
paper = "1.20.4-R0.1-SNAPSHOT"
|
||||
guice = "7.0.0"
|
||||
spotbugs = "4.9.8"
|
||||
checkerqual = "3.53.0"
|
||||
checkerqual = "3.52.1"
|
||||
gson = "2.10"
|
||||
guava = "31.1-jre"
|
||||
snakeyaml = "2.0"
|
||||
@@ -12,7 +12,7 @@ adventure-bukkit = "4.4.1"
|
||||
log4j = "2.19.0"
|
||||
|
||||
# Plugins
|
||||
worldedit = "7.4.0"
|
||||
worldedit = "7.2.20"
|
||||
fawe = "2.14.3"
|
||||
placeholderapi = "2.11.7"
|
||||
luckperms = "5.5"
|
||||
@@ -33,10 +33,10 @@ vault = "1.7.1"
|
||||
serverlib = "2.3.7"
|
||||
|
||||
# Gradle plugins
|
||||
shadow = "9.3.1"
|
||||
shadow = "9.3.0"
|
||||
grgit = "4.1.1"
|
||||
spotless = "8.1.0"
|
||||
publish = "0.36.0"
|
||||
publish = "0.35.0"
|
||||
runPaper = "3.0.2"
|
||||
|
||||
[libraries]
|
||||
|
||||
Reference in New Issue
Block a user