mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2026-01-01 22:58:46 +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 {
|
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();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ adventure-bukkit = "4.4.1"
|
|||||||
log4j = "2.19.0"
|
log4j = "2.19.0"
|
||||||
|
|
||||||
# Plugins
|
# Plugins
|
||||||
worldedit = "7.3.18"
|
worldedit = "7.2.20"
|
||||||
fawe = "2.14.3"
|
fawe = "2.14.3"
|
||||||
placeholderapi = "2.11.7"
|
placeholderapi = "2.11.7"
|
||||||
luckperms = "5.5"
|
luckperms = "5.5"
|
||||||
|
|||||||
Reference in New Issue
Block a user