WorldGuard

WorldGuard

8M Downloads

1.21 Event Error

HelloWorldCoder-China opened this issue ยท 0 comments

commented

WorldEdit Version

7.3.4-SNAPSHOT

WorldGuard Version

7.0.10

Platform Version

Paper 1.21 Dev Build

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 WorldGuard 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

My server is on Dev build 1.21 Paper, and there is something with WorldGuard the server throw out errors telling me that some events (like blockplace) can't be passed to WorldGuard.

Expected Behavior

The event been passed sucsesfully.

Reproduction Steps

None.
It may take to edit the mod's code.

Optional WorldGuard-Report

https://paste.enginehub.org/U0ZiRCsv3.report

Anything Else?

[09:46:28 ERROR]: Could not pass event BlockSpreadEvent to WorldGuard v7.0.10+d9424b1
java.lang.NoClassDefFoundError: Could not initialize class com.sk89q.worldguard.bukkit.util.Materials
at worldguard-bukkit-7.0.10-dist.jar/com.sk89q.worldguard.bukkit.listener.WorldGuardBlockListener.onBlockSpread(WorldGuardBlockListener.java:552) ~[worldguard-bukkit-7.0.10-dist.jar:?]
at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor354.execute(Unknown Source) ~[?:?]
at org.bukkit.plugin.EventExecutor$2.execute(EventExecutor.java:77) ~[paper-api-1.21-R0.1-SNAPSHOT.jar:?]
at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:81) ~[paper-api-1.21-R0.1-SNAPSHOT.jar:1.21-21-0a1b133]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[paper-api-1.21-R0.1-SNAPSHOT.jar:?]
at io.papermc.paper.plugin.manager.PaperEventManager.callEvent(PaperEventManager.java:54) ~[paper-1.21.jar:1.21-21-0a1b133]
at io.papermc.paper.plugin.manager.PaperPluginManagerImpl.callEvent(PaperPluginManagerImpl.java:131) ~[paper-1.21.jar:1.21-21-0a1b133]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:628) ~[paper-api-1.21-R0.1-SNAPSHOT.jar:?]
at org.bukkit.craftbukkit.event.CraftEventFactory.handleBlockSpreadEvent(CraftEventFactory.java:959) ~[paper-1.21.jar:1.21-21-0a1b133]
at org.bukkit.craftbukkit.event.CraftEventFactory.handleBlockSpreadEvent(CraftEventFactory.java:943) ~[paper-1.21.jar:1.21-21-0a1b133]
at net.minecraft.world.level.block.SpreadingSnowyDirtBlock.randomTick(SpreadingSnowyDirtBlock.java:62) ~[paper-1.21.jar:1.21-21-0a1b133]
at net.minecraft.world.level.block.state.BlockBehaviour$BlockStateBase.randomTick(BlockBehaviour.java:1143) ~[paper-1.21.jar:1.21-21-0a1b133]
at net.minecraft.server.level.ServerLevel.tickChunk(ServerLevel.java:865) ~[paper-1.21.jar:1.21-21-0a1b133]
at net.minecraft.server.level.ServerChunkCache.tickChunks(ServerChunkCache.java:496) ~[paper-1.21.jar:1.21-21-0a1b133]
at net.minecraft.server.level.ServerChunkCache.tick(ServerChunkCache.java:401) ~[paper-1.21.jar:1.21-21-0a1b133]
at net.minecraft.server.level.ServerLevel.tick(ServerLevel.java:688) ~[paper-1.21.jar:1.21-21-0a1b133]
at net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1733) ~[paper-1.21.jar:1.21-21-0a1b133]
at net.minecraft.server.dedicated.DedicatedServer.tickChildren(DedicatedServer.java:471) ~[paper-1.21.jar:1.21-21-0a1b133]
at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1538) ~[paper-1.21.jar:1.21-21-0a1b133]
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1246) ~[paper-1.21.jar:1.21-21-0a1b133]
at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:329) ~[paper-1.21.jar:1.21-21-0a1b133]
at java.base/java.lang.Thread.run(Thread.java:1570) ~[?:?]
Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.NoSuchFieldError: Class org.bukkit.Tag does not have member field 'org.bukkit.Tag ITEMS_MUSIC_DISCS' [in thread "Server thread"]
at worldguard-bukkit-7.0.10-dist.jar/com.sk89q.worldguard.bukkit.util.Materials.(Materials.java:867) ~[worldguard-bukkit-7.0.10-dist.jar:?]
at worldguard-bukkit-7.0.10-dist.jar/com.sk89q.worldguard.bukkit.listener.EventAbstractionListener.onBlockBurn(EventAbstractionListener.java:251) ~[worldguard-bukkit-7.0.10-dist.jar:?]
at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor456.execute(Unknown Source) ~[?:?]
at org.bukkit.plugin.EventExecutor$2.execute(EventExecutor.java:77) ~[paper-api-1.21-R0.1-SNAPSHOT.jar:?]
at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:81) ~[paper-api-1.21-R0.1-SNAPSHOT.jar:1.21-21-0a1b133]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[paper-api-1.21-R0.1-SNAPSHOT.jar:?]
at io.papermc.paper.plugin.manager.PaperEventManager.callEvent(PaperEventManager.java:54) ~[paper-1.21.jar:1.21-21-0a1b133]
at io.papermc.paper.plugin.manager.PaperPluginManagerImpl.callEvent(PaperPluginManagerImpl.java:131) ~[paper-1.21.jar:1.21-21-0a1b133]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:628) ~[paper-api-1.21-R0.1-SNAPSHOT.jar:?]
at net.minecraft.world.level.block.FireBlock.trySpread(FireBlock.java:290) ~[paper-1.21.jar:1.21-21-0a1b133]
at net.minecraft.world.level.block.FireBlock.tick(FireBlock.java:216) ~[paper-1.21.jar:1.21-21-0a1b133]
at net.minecraft.world.level.block.state.BlockBehaviour$BlockStateBase.tick(BlockBehaviour.java:1139) ~[paper-1.21.jar:1.21-21-0a1b133]
at net.minecraft.server.level.ServerLevel.tickBlock(ServerLevel.java:1157) ~[paper-1.21.jar:1.21-21-0a1b133]
at net.minecraft.world.ticks.LevelTicks.runCollectedTicks(LevelTicks.java:192) ~[paper-1.21.jar:1.21-21-0a1b133]
at net.minecraft.world.ticks.LevelTicks.tick(LevelTicks.java:89) ~[paper-1.21.jar:1.21-21-0a1b133]
at net.minecraft.server.level.ServerLevel.tick(ServerLevel.java:672) ~[paper-1.21.jar:1.21-21-0a1b133]
... 6 more