IntellectualSites / PlotSquared

PlotSquared - Reinventing the plotworld
GNU General Public License v3.0
546 stars 748 forks source link

auto-clear #2763

Closed zz2423257 closed 4 years ago

zz2423257 commented 4 years ago

Bug Report Template:

Required Information section:

ALL FIELDS IN THIS SECTION ARE REQUIRED, and must contain appropriate information

Server config info (/plot debugpaste / file paste links):

Server type:

Select one

Minecraft Version:

Select one

Server build info:

git-Paper-163 (MC: 1.15.2) (Implementing API version 1.15.2-R0.1-SNAPSHO

WorldEdit/FAWE versions:

Description of the problem:

The expired territory will not be automatically cleared when the server is opened

How to replicate:

Additional Information:

The information here is optional for you to provide, however it may help us to more readily diagnose any compatibility and bug issues.

Other plugins being used on the server:

Relevant console output, log lines, and/or screenshots:

[PlotSquared] Plugin PlotSquared v4.493 generated an exception while executing task 1623 java.lang.IllegalStateException: PlotDeleteEvent may only be triggered synchronously. at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:595) ~[patched_1.15.2.jar:git-Paper-163] at com.github.intellectualsites.plotsquared.bukkit.util.BukkitEventUtil.callEvent(BukkitEventUtil.java:54) ~[?:?] at com.github.intellectualsites.plotsquared.bukkit.util.BukkitEventUtil.callDelete(BukkitEventUtil.java:75) ~[?:?] at com.github.intellectualsites.plotsquared.plot.object.Plot.clear(Plot.java:868) ~[?:?] at com.github.intellectualsites.plotsquared.plot.object.Plot.deletePlot(Plot.java:1139) ~[?:?] at com.github.intellectualsites.plotsquared.plot.util.expiry.ExpireManager.deleteWithMessage(ExpireManager.java:384) ~[?:?] at com.github.intellectualsites.plotsquared.plot.util.expiry.ExpireManager$1.run(ExpireManager.java:164) ~[?:?] at com.github.intellectualsites.plotsquared.plot.util.expiry.ExpireManager$1.run(ExpireManager.java:155) ~[?:?] at com.github.intellectualsites.plotsquared.plot.util.expiry.ExpireManager$2.run(ExpireManager.java:294) ~[?:?] at org.bukkit.craftbukkit.v1_15_R1.scheduler.CraftTask.run(CraftTask.java:84) ~[patched_1.15.2.jar:git-Paper-163] at org.bukkit.craftbukkit.v1_15_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:54) ~[patched_1.15.2.jar:git-Paper-163] at com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22) ~[patched_1.15.2.jar:git-Paper-163] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?] at java.lang.Thread.run(Thread.java:830) [?:?]

AFFIRMATION OF COMPLETION:

dordsor21 commented 4 years ago

This will be fixed in v5 from the new event system