Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

java.lang.NoSuchMethodError: 'int org.bukkit.ChunkSnapshot.getBlockTypeId(int, int, int)' #20

Open
Mew2K opened this issue May 24, 2024 · 0 comments

Comments

@Mew2K
Copy link

Mew2K commented May 24, 2024

Issue Description: Attempting to load this map causes these warnings to be thrown to the console. The map itself fails to even get cycled to.

Map: Block Runner: Classic

Version: PGM-0.16-SNAPSHOT-3c8fd1f9.jar

Stack Trace:
[14:43:46 WARN]: [PGM.MatchImpl] [MatchImpl] VariablesMatchModule implements Listener but is not annotated with @ListenerScope
[14:43:46 WARN]: java.lang.NoSuchMethodError: 'int org.bukkit.ChunkSnapshot.getBlockTypeId(int, int, int)'
[14:43:46 WARN]: at PGM-0.16-SNAPSHOT-3c8fd1f9.jar//tc.oc.pgm.util.nms.material.legacy.MaterialDataLegacy.encodedMaterialAt(MaterialDataLegacy.java:86)
[14:43:46 WARN]: at PGM-0.16-SNAPSHOT-3c8fd1f9.jar//tc.oc.pgm.snapshot.WorldSnapshot$BlockDataIterator.next(WorldSnapshot.java:149)
[14:43:46 WARN]: at PGM-0.16-SNAPSHOT-3c8fd1f9.jar//tc.oc.pgm.snapshot.WorldSnapshot$BlockDataIterator.next(WorldSnapshot.java:111)
[14:43:46 WARN]: at PGM-0.16-SNAPSHOT-3c8fd1f9.jar//tc.oc.pgm.snapshot.BudgetWorldEdit.removeBlocks(BudgetWorldEdit.java:48)
[14:43:46 WARN]: at PGM-0.16-SNAPSHOT-3c8fd1f9.jar//tc.oc.pgm.snapshot.WorldSnapshot.removeBlocks(WorldSnapshot.java:93)
[14:43:46 WARN]: at PGM-0.16-SNAPSHOT-3c8fd1f9.jar//tc.oc.pgm.structure.Structure.(Structure.java:31)
[14:43:46 WARN]: at PGM-0.16-SNAPSHOT-3c8fd1f9.jar//tc.oc.pgm.structure.StructureMatchModule.load(StructureMatchModule.java:47)
[14:43:46 WARN]: at PGM-0.16-SNAPSHOT-3c8fd1f9.jar//tc.oc.pgm.match.MatchImpl$ModuleLoader.createModule(MatchImpl.java:809)
[14:43:46 WARN]: at PGM-0.16-SNAPSHOT-3c8fd1f9.jar//tc.oc.pgm.match.MatchImpl$ModuleLoader.createModule(MatchImpl.java:778)
[14:43:46 WARN]: at PGM-0.16-SNAPSHOT-3c8fd1f9.jar//tc.oc.pgm.api.module.ModuleGraph.load(ModuleGraph.java:159)
[14:43:46 WARN]: at PGM-0.16-SNAPSHOT-3c8fd1f9.jar//tc.oc.pgm.api.module.ModuleGraph.loadAll(ModuleGraph.java:47)
[14:43:46 WARN]: at PGM-0.16-SNAPSHOT-3c8fd1f9.jar//tc.oc.pgm.match.MatchImpl$ModuleLoader.(MatchImpl.java:783)
[14:43:46 WARN]: at PGM-0.16-SNAPSHOT-3c8fd1f9.jar//tc.oc.pgm.match.MatchImpl.load(MatchImpl.java:834)
[14:43:46 WARN]: at PGM-0.16-SNAPSHOT-3c8fd1f9.jar//tc.oc.pgm.match.MatchFactoryImpl$InitMatchStage.advanceSync(MatchFactoryImpl.java:317)
[14:43:46 WARN]: at org.bukkit.craftbukkit.v1_20_R3.scheduler.CraftFuture.run(CraftFuture.java:88)
[14:43:46 WARN]: at org.bukkit.craftbukkit.v1_20_R3.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:482)
[14:43:46 WARN]: at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:1646)
[14:43:46 WARN]: at net.minecraft.server.dedicated.DedicatedServer.b(DedicatedServer.java:447)
[14:43:46 WARN]: at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:1525)
[14:43:46 WARN]: at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:1226)
[14:43:46 WARN]: at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:319)
[14:43:46 WARN]: at java.base/java.lang.Thread.run(Thread.java:833)
[14:43:46 INFO]: [ChunkHolderManager] Waiting 60s for chunk system to halt for world 'match-8'
[14:43:46 INFO]: [ChunkHolderManager] Halted chunk system for world 'match-8'
[14:43:46 WARN]: [PGM] Task PGMDev#1001 for PGM v0.16-SNAPSHOT (git-9a60b930) generated an exception
java.lang.NoSuchMethodError: 'int org.bukkit.ChunkSnapshot.getBlockTypeId(int, int, int)'
at tc.oc.pgm.util.nms.material.legacy.MaterialDataLegacy.encodedMaterialAt(MaterialDataLegacy.java:86) ~[PGM-0.16-SNAPSHOT-3c8fd1f9.jar:?]
at tc.oc.pgm.snapshot.WorldSnapshot$BlockDataIterator.next(WorldSnapshot.java:149) ~[PGM-0.16-SNAPSHOT-3c8fd1f9.jar:?]
at tc.oc.pgm.snapshot.WorldSnapshot$BlockDataIterator.next(WorldSnapshot.java:111) ~[PGM-0.16-SNAPSHOT-3c8fd1f9.jar:?]
at tc.oc.pgm.snapshot.BudgetWorldEdit.removeBlocks(BudgetWorldEdit.java:48) ~[PGM-0.16-SNAPSHOT-3c8fd1f9.jar:?]
at tc.oc.pgm.snapshot.WorldSnapshot.removeBlocks(WorldSnapshot.java:93) ~[PGM-0.16-SNAPSHOT-3c8fd1f9.jar:?]
at tc.oc.pgm.structure.Structure.(Structure.java:31) ~[PGM-0.16-SNAPSHOT-3c8fd1f9.jar:?]
at tc.oc.pgm.structure.StructureMatchModule.load(StructureMatchModule.java:47) ~[PGM-0.16-SNAPSHOT-3c8fd1f9.jar:?]
at tc.oc.pgm.match.MatchImpl$ModuleLoader.createModule(MatchImpl.java:809) ~[PGM-0.16-SNAPSHOT-3c8fd1f9.jar:?]
at tc.oc.pgm.match.MatchImpl$ModuleLoader.createModule(MatchImpl.java:778) ~[PGM-0.16-SNAPSHOT-3c8fd1f9.jar:?]
at tc.oc.pgm.api.module.ModuleGraph.load(ModuleGraph.java:159) ~[PGM-0.16-SNAPSHOT-3c8fd1f9.jar:?]
at tc.oc.pgm.api.module.ModuleGraph.loadAll(ModuleGraph.java:47) ~[PGM-0.16-SNAPSHOT-3c8fd1f9.jar:?]
at tc.oc.pgm.match.MatchImpl$ModuleLoader.(MatchImpl.java:783) ~[PGM-0.16-SNAPSHOT-3c8fd1f9.jar:?]
at tc.oc.pgm.match.MatchImpl.load(MatchImpl.java:834) ~[PGM-0.16-SNAPSHOT-3c8fd1f9.jar:?]
at tc.oc.pgm.match.MatchFactoryImpl$InitMatchStage.advanceSync(MatchFactoryImpl.java:317) ~[PGM-0.16-SNAPSHOT-3c8fd1f9.jar:?]
at org.bukkit.craftbukkit.v1_20_R3.scheduler.CraftFuture.run(CraftFuture.java:88) ~[paper-1.20.4.jar:git-Paper-496]
at org.bukkit.craftbukkit.v1_20_R3.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:482) ~[paper-1.20.4.jar:git-Paper-496]
at net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1646) ~[paper-1.20.4.jar:git-Paper-496]
at net.minecraft.server.dedicated.DedicatedServer.tickChildren(DedicatedServer.java:447) ~[paper-1.20.4.jar:git-Paper-496]
at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1525) ~[paper-1.20.4.jar:git-Paper-496]
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1226) ~[paper-1.20.4.jar:git-Paper-496]
at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:319) ~[paper-1.20.4.jar:git-Paper-496]
at java.lang.Thread.run(Thread.java:833) ~[?:?]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant