EngineHub / CraftBook

🔧 Machines, ICs, PLCs, and more!
https://enginehub.org/craftbook/
GNU General Public License v3.0
304 stars 163 forks source link

hello,My English is very poor, I am a user from China, I encountered the following problems in the process of using the plugin #1324

Closed Wmh125364 closed 8 months ago

Wmh125364 commented 9 months ago

CraftBook Version

3.10.6

Platform Version

paper.1.18.2-build388.jar

Confirmations

Bug Description

Always output the following error in my cmd terminal: [22:49:18 WARN]: [CraftBook] Task #5511 for CraftBook v3.10.6;4748-a91298e generated an exception java.lang.NullPointerException: Cannot invoke "java.util.Map.entrySet()" because "this.this$0.chairs" is null at com.sk89q.craftbook.mechanics.Chair$ChairChecker.run(Chair.java:289) ~[craftbook-3.10.6 (1).jar:?] at org.bukkit.craftbukkit.v1_18_R2.scheduler.CraftTask.run(CraftTask.java:101) ~[paper-1.18.2.jar:git-Paper-388] at org.bukkit.craftbukkit.v1_18_R2.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:483) ~[paper-1.18.2.jar:git-Paper-388] at net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1532) ~[paper-1.18.2.jar:git-Paper-388] at net.minecraft.server.dedicated.DedicatedServer.tickChildren(DedicatedServer.java:483) ~[paper-1.18.2.jar:git-Paper-388] at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1456) ~[paper-1.18.2.jar:git-Paper-388] at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1226) ~[paper-1.18.2.jar:git-Paper-388] at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:316) ~[paper-1.18.2.jar:git-Paper-388] at java.lang.Thread.run(Thread.java:833) ~[?:?]

Expected Behavior

I hope to find a solution

Reproduction Steps

  1. ...
  2. ...

Anything Else?

No response

me4502 commented 9 months ago

Most of the error is missing, so there's nothing I can say based on it. You're also using a very outdated version