CraftBook 3

CraftBook 3

139k Downloads

plugin works only with old versions of protocollib

teslabars opened this issue ยท 4 comments

commented

CraftBook Version

3.10.3

Platform Version

purpur 1.16.5

Confirmations

  • I am using the most recent Minecraft release.
  • I am using a version of WorldEdit compatible with my Minecraft version.
  • I am using a version of CraftBook compatible with my Minecraft version.
  • I am using the latest or recommended version of my platform software.
  • I am NOT using a hybrid server, e.g. a server that combines Bukkit and Forge. Examples include Arclight, Mohist, and Cardboard.
  • I am NOT using a fork of WorldEdit, such as FastAsyncWorldEdit (FAWE) or AsyncWorldEdit (AWE)

Bug Description

many reports in console.when i use new versions of protocollib (5.3.0)). when i use 4.8.0, its correctly works

Expected Behavior

?

Reproduction Steps

?

Anything Else?

[15:05:04 WARN]: [CraftBook] Task #268 for CraftBook v3.10.3;4680-f1ee2df generated an exception
java.lang.NullPointerException: Cannot invoke "java.util.Map.entrySet()" because the return value of "com.sk89q.craftbook.mechanics.Chair.access$200(com.sk89q.craftbook.mechanics.Chair)" is null
at com.sk89q.craftbook.mechanics.Chair$ChairChecker.run(Chair.java:289) ~[?:?]
at org.bukkit.craftbukkit.v1_16_R3.scheduler.CraftTask.run(CraftTask.java:100) ~[patched_1.16.5.jar:git-Purpur-1169]
at org.bukkit.craftbukkit.v1_16_R3.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:468) ~[patched_1.16.5.jar:git-Purpur-1169]
at net.minecraft.server.v1_16_R3.MinecraftServer.b(MinecraftServer.java:1503) ~[patched_1.16.5.jar:git-Purpur-1169]
at net.minecraft.server.v1_16_R3.DedicatedServer.b(DedicatedServer.java:449) ~[patched_1.16.5.jar:git-Purpur-1169]
at net.minecraft.server.v1_16_R3.MinecraftServer.a(MinecraftServer.java:1416) ~[patched_1.16.5.jar:git-Purpur-1169]
at net.minecraft.server.v1_16_R3.MinecraftServer.w(MinecraftServer.java:1142) ~[patched_1.16.5.jar:git-Purpur-1169]
at net.minecraft.server.v1_16_R3.MinecraftServer.lambda$a$0(MinecraftServer.java:293) ~[patched_1.16.5.jar:git-Purpur-1169]
at java.lang.Thread.run(Thread.java:833) [?:?]

commented

You're using a very old version of CraftBook, this is expected behaviour.

commented

[15:56:19 ERROR]: Could not load 'plugins\craftbook-3.10.12.jar' in folder 'plugins'
org.bukkit.plugin.InvalidPluginException: Unsupported API version 1.21.3
at org.bukkit.craftbukkit.v1_16_R3.util.CraftMagicNumbers.checkSupported(CraftMagicNumbers.java:361) ~[patched_1.16.5.jar:git-Purpur-1169]
at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:149) ~[patched_1.16.5.jar:git-Purpur-1169]
at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:414) ~[patched_1.16.5.jar:git-Purpur-1169]
at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:322) ~[patched_1.16.5.jar:git-Purpur-1169]
at org.bukkit.craftbukkit.v1_16_R3.CraftServer.loadPlugins(CraftServer.java:393) ~[patched_1.16.5.jar:git-Purpur-1169]
at net.minecraft.server.v1_16_R3.DedicatedServer.init(DedicatedServer.java:279) ~[patched_1.16.5.jar:git-Purpur-1169]
at net.minecraft.server.v1_16_R3.MinecraftServer.w(MinecraftServer.java:1074) ~[patched_1.16.5.jar:git-Purpur-1169]
at net.minecraft.server.v1_16_R3.MinecraftServer.lambda$a$0(MinecraftServer.java:293) ~[patched_1.16.5.jar:git-Purpur-1169]

commented

[17:43:19] [Server thread/INFO]: [CraftBook] Enabling CraftBook v3.10.3;4680-f1ee2df
[17:43:19] [Server thread/INFO]: [CraftBook] Loading persistent data from YAML!
[17:43:19] [Server thread/INFO]: [CraftBook] 1 cauldron recipe(s) loaded
[17:43:19] [Server thread/INFO]: [CraftBook] Registered 3 custom recipes!
[17:43:19] [Server thread/WARN]: [CraftBook] ProtocolLib is required for chairs! Disabling chairs!

commented

It just doesnt see Protocollib