klnon / clearitem Goto Github PK
View Code? Open in Web Editor NEW拥有聊天栏点击打开共享垃圾桶以及翻页垃圾桶的Minecraft服务器轻量级自动清理垃圾桶插件
拥有聊天栏点击打开共享垃圾桶以及翻页垃圾桶的Minecraft服务器轻量级自动清理垃圾桶插件
[21:27:54 ERROR]: Thread Craft Scheduler Thread - 64 - ClearItem failed main thread check: Chunk getEntities call
java.lang.Throwable: null
at org.spigotmc.AsyncCatcher.catchOp(AsyncCatcher.java:15) ~[paper-1.19.2.jar:git-Paper-133]
at net.minecraft.server.level.ServerLevel.getEntities(ServerLevel.java:2426) ~[?:?]
at org.bukkit.craftbukkit.v1_19_R1.CraftWorld.getNMSEntities(CraftWorld.java:1079) ~[paper-1.19.2.jar:git-Paper-133]
at org.bukkit.craftbukkit.v1_19_R1.CraftRegionAccessor.getEntities(CraftRegionAccessor.java:412) ~[paper-1.19.2.jar:git-Paper-133]
at com.mcsyr.clearitem.tools.clearWorldItem(tools.java:122) ~[clearItem-3.3.0-SNAPSHOT.jar:?]
at com.mcsyr.clearitem.tools.lambda$clearWorld$2(tools.java:115) ~[clearItem-3.3.0-SNAPSHOT.jar:?]
at org.bukkit.craftbukkit.v1_19_R1.scheduler.CraftTask.run(CraftTask.java:101) ~[paper-1.19.2.jar:git-Paper-133]
at org.bukkit.craftbukkit.v1_19_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:57) ~[paper-1.19.2.jar:git-Paper-133]
at com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22) ~[paper-1.19.2.jar:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) ~[?:?]
at java.lang.Thread.run(Thread.java:833) ~[?:?]
[21:27:54 WARN]: [ClearItem] Plugin ClearItem v3.3.0-SNAPSHOT generated an exception while executing task 34778
java.lang.IllegalStateException: Asynchronous Chunk getEntities call!
at org.spigotmc.AsyncCatcher.catchOp(AsyncCatcher.java:16) ~[paper-1.19.2.jar:git-Paper-133]
at net.minecraft.server.level.ServerLevel.getEntities(ServerLevel.java:2426) ~[?:?]
at org.bukkit.craftbukkit.v1_19_R1.CraftWorld.getNMSEntities(CraftWorld.java:1079) ~[paper-1.19.2.jar:git-Paper-133]
at org.bukkit.craftbukkit.v1_19_R1.CraftRegionAccessor.getEntities(CraftRegionAccessor.java:412) ~[paper-1.19.2.jar:git-Paper-133]
at com.mcsyr.clearitem.tools.clearWorldItem(tools.java:122) ~[clearItem-3.3.0-SNAPSHOT.jar:?]
at com.mcsyr.clearitem.tools.lambda$clearWorld$2(tools.java:115) ~[clearItem-3.3.0-SNAPSHOT.jar:?]
at org.bukkit.craftbukkit.v1_19_R1.scheduler.CraftTask.run(CraftTask.java:101) ~[paper-1.19.2.jar:git-Paper-133]
at org.bukkit.craftbukkit.v1_19_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:57) ~[paper-1.19.2.jar:git-Paper-133]
at com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22) ~[paper-1.19.2.jar:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) ~[?:?]
at java.lang.Thread.run(Thread.java:833) ~[?:?]
[21:27:54 ERROR]: Thread Craft Scheduler Thread - 80 - ClearItem failed main thread check: Chunk getEntities call
java.lang.Throwable: null
at org.spigotmc.AsyncCatcher.catchOp(AsyncCatcher.java:15) ~[paper-1.19.2.jar:git-Paper-133]
at net.minecraft.server.level.ServerLevel.getEntities(ServerLevel.java:2426) ~[?:?]
at org.bukkit.craftbukkit.v1_19_R1.CraftWorld.getNMSEntities(CraftWorld.java:1079) ~[paper-1.19.2.jar:git-Paper-133]
at org.bukkit.craftbukkit.v1_19_R1.CraftRegionAccessor.getEntities(CraftRegionAccessor.java:412) ~[paper-1.19.2.jar:git-Paper-133]
at com.mcsyr.clearitem.tools.clearWorldItem(tools.java:122) ~[clearItem-3.3.0-SNAPSHOT.jar:?]
at com.mcsyr.clearitem.tools.lambda$clearWorld$2(tools.java:115) ~[clearItem-3.3.0-SNAPSHOT.jar:?]
at org.bukkit.craftbukkit.v1_19_R1.scheduler.CraftTask.run(CraftTask.java:101) ~[paper-1.19.2.jar:git-Paper-133]
at org.bukkit.craftbukkit.v1_19_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:57) ~[paper-1.19.2.jar:git-Paper-133]
at com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22) ~[paper-1.19.2.jar:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) ~[?:?]
at java.lang.Thread.run(Thread.java:833) ~[?:?]
[21:27:54 WARN]: [ClearItem] Plugin ClearItem v3.3.0-SNAPSHOT generated an exception while executing task 34779
java.lang.IllegalStateException: Asynchronous Chunk getEntities call!
at org.spigotmc.AsyncCatcher.catchOp(AsyncCatcher.java:16) ~[paper-1.19.2.jar:git-Paper-133]
at net.minecraft.server.level.ServerLevel.getEntities(ServerLevel.java:2426) ~[?:?]
at org.bukkit.craftbukkit.v1_19_R1.CraftWorld.getNMSEntities(CraftWorld.java:1079) ~[paper-1.19.2.jar:git-Paper-133]
at org.bukkit.craftbukkit.v1_19_R1.CraftRegionAccessor.getEntities(CraftRegionAccessor.java:412) ~[paper-1.19.2.jar:git-Paper-133]
at com.mcsyr.clearitem.tools.clearWorldItem(tools.java:122) ~[clearItem-3.3.0-SNAPSHOT.jar:?]
at com.mcsyr.clearitem.tools.lambda$clearWorld$2(tools.java:115) ~[clearItem-3.3.0-SNAPSHOT.jar:?]
at org.bukkit.craftbukkit.v1_19_R1.scheduler.CraftTask.run(CraftTask.java:101) ~[paper-1.19.2.jar:git-Paper-133]
at org.bukkit.craftbukkit.v1_19_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:57) ~[paper-1.19.2.jar:git-Paper-133]
at com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22) ~[paper-1.19.2.jar:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) ~[?:?]
at java.lang.Thread.run(Thread.java:833) ~[?:?]
[21:27:55 ERROR]: Thread Craft Scheduler Thread - 82 - ClearItem failed main thread check: Chunk getEntities call
java.lang.Throwable: null
at org.spigotmc.AsyncCatcher.catchOp(AsyncCatcher.java:15) ~[paper-1.19.2.jar:git-Paper-133]
at net.minecraft.server.level.ServerLevel.getEntities(ServerLevel.java:2426) ~[?:?]
at org.bukkit.craftbukkit.v1_19_R1.CraftWorld.getNMSEntities(CraftWorld.java:1079) ~[paper-1.19.2.jar:git-Paper-133]
at org.bukkit.craftbukkit.v1_19_R1.CraftRegionAccessor.getEntities(CraftRegionAccessor.java:412) ~[paper-1.19.2.jar:git-Paper-133]
at com.mcsyr.clearitem.tools.clearWorldItem(tools.java:122) ~[clearItem-3.3.0-SNAPSHOT.jar:?]
at com.mcsyr.clearitem.tools.lambda$clearWorld$2(tools.java:115) ~[clearItem-3.3.0-SNAPSHOT.jar:?]
at org.bukkit.craftbukkit.v1_19_R1.scheduler.CraftTask.run(CraftTask.java:101) ~[paper-1.19.2.jar:git-Paper-133]
at org.bukkit.craftbukkit.v1_19_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:57) ~[paper-1.19.2.jar:git-Paper-133]
at com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22) ~[paper-1.19.2.jar:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) ~[?:?]
at java.lang.Thread.run(Thread.java:833) ~[?:?]
[21:27:55 WARN]: [ClearItem] Plugin ClearItem v3.3.0-SNAPSHOT generated an exception while executing task 34780
java.lang.IllegalStateException: Asynchronous Chunk getEntities call!
at org.spigotmc.AsyncCatcher.catchOp(AsyncCatcher.java:16) ~[paper-1.19.2.jar:git-Paper-133]
at net.minecraft.server.level.ServerLevel.getEntities(ServerLevel.java:2426) ~[?:?]
at org.bukkit.craftbukkit.v1_19_R1.CraftWorld.getNMSEntities(CraftWorld.java:1079) ~[paper-1.19.2.jar:git-Paper-133]
at org.bukkit.craftbukkit.v1_19_R1.CraftRegionAccessor.getEntities(CraftRegionAccessor.java:412) ~[paper-1.19.2.jar:git-Paper-133]
at com.mcsyr.clearitem.tools.clearWorldItem(tools.java:122) ~[clearItem-3.3.0-SNAPSHOT.jar:?]
at com.mcsyr.clearitem.tools.lambda$clearWorld$2(tools.java:115) ~[clearItem-3.3.0-SNAPSHOT.jar:?]
at org.bukkit.craftbukkit.v1_19_R1.scheduler.CraftTask.run(CraftTask.java:101) ~[paper-1.19.2.jar:git-Paper-133]
at org.bukkit.craftbukkit.v1_19_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:57) ~[paper-1.19.2.jar:git-Paper-133]
at com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22) ~[paper-1.19.2.jar:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) ~[?:?]
at java.lang.Thread.run(Thread.java:833) ~[?:?]
This server is running Paper version git-Paper-133 (MC: 1.19.2) (Implementing API version 1.19.2-R0.1-SNAPSHOT) (Git: 0bf8790)
也许你不应该把一些不能放在异步的 放在异步,应该让他们走主线程
我尝试暂时移至到主线程修复了这个问题,如果你有什么时间可以自行修复一下走异步
https://github.com/Thexiaoyuqaq/clearItem
希望可以添加一个区块黑名单的功能 就是在指定区块内物品不会被垃圾桶清除
2023年了 作者有时间了嘛(悲)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.