[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:
[] I included all information required in the sections above
[] I made sure there are no duplicates of this report (Use Search)
[] I made sure I am using an up-to-date version of PlotSquared
[] I made sure the bug/error is not caused by any other plugin
Bug Report Template:
Required Information section:
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:
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: