WorldGuard

WorldGuard

8M Downloads

Could not pass event BlockFromToEvent to WorldGuard v7.0.12+829a4a4

ZubzzBuzz opened this issue ยท 1 comments

commented

WorldEdit Version

7.3.9

WorldGuard Version

7.0.12

Platform Version

paper 1.21.4

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

well done the flags and that for my spawn then out of nowhere my server kept getting lagy so i looked at the console and tons of WG errors

Error is below

Could not pass event BlockFadeEvent to WorldGuard v7.0.12+829a4a4
java.lang.NoClassDefFoundError: Could not initialize class com.sk89q.worldguard.bukkit.util.Materials
at worldguard-bukkit-7.0.12-dist.jar/com.sk89q.worldguard.bukkit.listener.WorldGuardBlockListener.onBlockFade(WorldGuardBlockListener.java:702) ~[worldguard-bukkit-7.0.12-dist.jar:?]
at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:80) ~[paper-api-1.21.4-R0.1-SNAPSHOT.jar:?]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[paper-api-1.21.4-R0.1-SNAPSHOT.jar:?]
at io.papermc.paper.plugin.manager.PaperEventManager.callEvent(PaperEventManager.java:54) ~[paper-1.21.4.jar:1.21.4-107-1bb3677]
at io.papermc.paper.plugin.manager.PaperPluginManagerImpl.callEvent(PaperPluginManagerImpl.java:131) ~[paper-1.21.4.jar:1.21.4-107-1bb3677]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:628) ~[paper-api-1.21.4-R0.1-SNAPSHOT.jar:?]
at net.minecraft.world.level.block.FireBlock.updateShape(FireBlock.java:136) ~[paper-1.21.4.jar:1.21.4-107-1bb3677]
at net.minecraft.world.level.block.state.BlockBehaviour$BlockStateBase.updateShape(BlockBehaviour.java:931) ~[paper-1.21.4.jar:1.21.4-107-1bb3677]
at net.minecraft.world.level.redstone.NeighborUpdater.executeShapeUpdate(NeighborUpdater.java:39) ~[paper-1.21.4.jar:1.21.4-107-1bb3677]
at net.minecraft.world.level.redstone.CollectingNeighborUpdater$ShapeUpdate.runNext(CollectingNeighborUpdater.java:153) ~[paper-1.21.4.jar:1.21.4-107-1bb3677]
at net.minecraft.world.level.redstone.CollectingNeighborUpdater.runUpdates(CollectingNeighborUpdater.java:79) ~[paper-1.21.4.jar:1.21.4-107-1bb3677]
at net.minecraft.world.level.redstone.CollectingNeighborUpdater.addAndRun(CollectingNeighborUpdater.java:64) ~[paper-1.21.4.jar:1.21.4-107-1bb3677]
at net.minecraft.world.level.redstone.CollectingNeighborUpdater.shapeUpdate(CollectingNeighborUpdater.java:31) ~[paper-1.21.4.jar:1.21.4-107-1bb3677]
at net.minecraft.world.level.Level.neighborShapeChanged(Level.java:1325) ~[paper-1.21.4.jar:1.21.4-107-1bb3677]
at net.minecraft.world.level.block.state.BlockBehaviour$BlockStateBase.updateNeighbourShapes(BlockBehaviour.java:847) ~[paper-1.21.4.jar:1.21.4-107-1bb3677]
at net.minecraft.world.level.Level.notifyAndUpdatePhysics(Level.java:1230) ~[paper-1.21.4.jar:1.21.4-107-1bb3677]
at net.minecraft.world.level.Level.setBlock(Level.java:1181) ~[paper-1.21.4.jar:1.21.4-107-1bb3677]
at net.minecraft.world.level.Level.setBlock(Level.java:1096) ~[paper-1.21.4.jar:1.21.4-107-1bb3677]
at net.minecraft.world.level.Level.removeBlock(Level.java:1250) ~[paper-1.21.4.jar:1.21.4-107-1bb3677]
at net.minecraft.world.level.block.FireBlock.checkBurnOut(FireBlock.java:311) ~[paper-1.21.4.jar:1.21.4-107-1bb3677]
at net.minecraft.world.level.block.FireBlock.tick(FireBlock.java:220) ~[paper-1.21.4.jar:1.21.4-107-1bb3677]
at net.minecraft.world.level.block.state.BlockBehaviour$BlockStateBase.tick(BlockBehaviour.java:878) ~[paper-1.21.4.jar:1.21.4-107-1bb3677]
at net.minecraft.server.level.ServerLevel.tickBlock(ServerLevel.java:1232) ~[paper-1.21.4.jar:1.21.4-107-1bb3677]
at net.minecraft.world.ticks.LevelTicks.runCollectedTicks(LevelTicks.java:189) ~[paper-1.21.4.jar:1.21.4-107-1bb3677]
at net.minecraft.world.ticks.LevelTicks.tick(LevelTicks.java:88) ~[paper-1.21.4.jar:1.21.4-107-1bb3677]
at net.minecraft.server.level.ServerLevel.tick(ServerLevel.java:764) ~[paper-1.21.4.jar:1.21.4-107-1bb3677]
at net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1724) ~[paper-1.21.4.jar:1.21.4-107-1bb3677]
at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1529) ~[paper-1.21.4.jar:1.21.4-107-1bb3677]
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1251) ~[paper-1.21.4.jar:1.21.4-107-1bb3677]
at net.minecraft.server.MinecraftServer.lambda$spin$2(MinecraftServer.java:310) ~[paper-1.21.4.jar:1.21.4-107-1bb3677]
at java.base/java.lang.Thread.run(Thread.java:1575) ~[?:?]
Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.NoSuchFieldError: Class org.bukkit.Tag does not have member field 'org.bukkit.Tag ITEMS_TRIM_TEMPLATES' [in thread "Server thread"]
at worldguard-bukkit-7.0.12-dist.jar/com.sk89q.worldguard.bukkit.util.Materials.(Materials.java:913) ~[worldguard-bukkit-7.0.12-dist.jar:?]
at worldguard-bukkit-7.0.12-dist.jar/com.sk89q.worldguard.bukkit.listener.WorldGuardBlockListener.onBlockSpread(WorldGuardBlockListener.java:553) ~[worldguard-bukkit-7.0.12-dist.jar:?]
at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:80) ~[paper-api-1.21.4-R0.1-SNAPSHOT.jar:?]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[paper-api-1.21.4-R0.1-SNAPSHOT.jar:?]
at io.papermc.paper.plugin.manager.PaperEventManager.callEvent(PaperEventManager.java:54) ~[paper-1.21.4.jar:1.21.4-107-1bb3677]
at io.papermc.paper.plugin.manager.PaperPluginManagerImpl.callEvent(PaperPluginManagerImpl.java:131) ~[paper-1.21.4.jar:1.21.4-107-1bb3677]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:628) ~[paper-api-1.21.4-R0.1-SNAPSHOT.jar:?]
at org.bukkit.craftbukkit.event.CraftEventFactory.handleBlockSpreadEvent(CraftEventFactory.java:967) ~[paper-1.21.4.jar:1.21.4-107-1bb3677]
at org.bukkit.craftbukkit.event.CraftEventFactory.handleBlockSpreadEvent(CraftEventFactory.java:951) ~[paper-1.21.4.jar:1.21.4-107-1bb3677]
at net.minecraft.world.level.block.GrowingPlantHeadBlock.randomTick(GrowingPlantHeadBlock.java:62) ~[paper-1.21.4.jar:1.21.4-107-1bb3677]
at net.minecraft.world.level.block.state.BlockBehaviour$BlockStateBase.randomTick(BlockBehaviour.java:882) ~[paper-1.21.4.jar:1.21.4-107-1bb3677]
at net.minecraft.server.level.ServerLevel.optimiseRandomTick(ServerLevel.java:907) ~[paper-1.21.4.jar:1.21.4-107-1bb3677]
at net.minecraft.server.level.ServerLevel.tickChunk(ServerLevel.java:967) ~[paper-1.21.4.jar:1.21.4-107-1bb3677]
at net.minecraft.server.level.ServerChunkCache.tickChunks(ServerChunkCache.java:624) ~[paper-1.21.4.jar:1.21.4-107-1bb3677]
at net.minecraft.server.level.ServerChunkCache.tickChunks(ServerChunkCache.java:522) ~[paper-1.21.4.jar:1.21.4-107-1bb3677]
at net.minecraft.server.level.ServerChunkCache.tick(ServerChunkCache.java:494) ~[paper-1.21.4.jar:1.21.4-107-1bb3677]
at net.minecraft.server.level.ServerLevel.tick(ServerLevel.java:776) ~[paper-1.21.4.jar:1.21.4-107-1bb3677]

Expected Behavior

it just made my console full of the same error and i mean spams it would do like 100 errors in like 1 min made my console crash from how fast the errors was coming and going

Reproduction Steps

  1. put flags down to stop pvp and blocks being able to be broken at spawn
  2. look at console and errors should be there

Optional WorldGuard-Report

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

Anything Else?

i have absolutely no clue what caused this error

commented

Use a WorldGuard version that supports your minecraft version