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