P3pp3rF1y / Reliquary

The source code of Reliquary! That mod, with the magical swag, and a weapon, and stuff.
Other
43 stars 28 forks source link

[Bug] Reliquary pedestal crashes. #575

Closed haltalt closed 2 years ago

haltalt commented 2 years ago

I got the following crash when putting the following sword into a pedestal. net.minecraft.ReportedException: Ticking block entity at net.minecraft.server.MinecraftServer.m5703(MinecraftServer.java:906) ~[client-1.18.2-20220404.173914-srg.jar%2374!/:?] at net.minecraft.server.MinecraftServer.m5705(MinecraftServer.java:842) ~[client-1.18.2-20220404.173914-srg.jar%2374!/:?] at net.minecraft.client.server.IntegratedServer.m5705(IntegratedServer.java:84) ~[client-1.18.2-20220404.173914-srg.jar%2374!/:?] at net.minecraft.server.MinecraftServer.m130011(MinecraftServer.java:685) ~[client-1.18.2-20220404.173914-srg.jar%2374!/:?] at net.minecraft.server.MinecraftServer.m177918(MinecraftServer.java:261) ~[client-1.18.2-20220404.173914-srg.jar%2374!/:?] at java.lang.Thread.run(Thread.java:833) [?:?] Caused by: java.lang.AbstractMethodError: Receiver class reliquary.blocks.tile.PedestalBlockEntity does not define or inherit an implementation of the resolved method 'abstract net.minecraft.core.BlockPos getBlockPos()' of interface reliquary.api.IPedestal. at reliquary.pedestal.wrappers.PedestalMeleeWeaponWrapper.update(PedestalMeleeWeaponWrapper.java:29) ~[reliquary-1.18.2-2.0.6.1135.jar%2370!/:1.18.2-2.0.6.1135] at reliquary.blocks.tile.PedestalBlockEntity.lambda$serverTick$5(PedestalBlockEntity.java:202) ~[reliquary-1.18.2-2.0.6.1135.jar%2370!/:1.18.2-2.0.6.1135] at reliquary.blocks.tile.PedestalBlockEntity.executeOnActionItem(PedestalBlockEntity.java:138) ~[reliquary-1.18.2-2.0.6.1135.jar%2370!/:1.18.2-2.0.6.1135] at reliquary.blocks.tile.PedestalBlockEntity.serverTick(PedestalBlockEntity.java:202) ~[reliquary-1.18.2-2.0.6.1135.jar%2370!/:1.18.2-2.0.6.1135] at reliquary.blocks.PedestalBlock.lambda$getTicker$2(PedestalBlock.java:102) ~[reliquary-1.18.2-2.0.6.1135.jar%2370!/:1.18.2-2.0.6.1135] at net.minecraft.world.level.chunk.LevelChunk$BoundTickingBlockEntity.m142224(LevelChunk.java:673) ~[client-1.18.2-20220404.173914-srg.jar%2374!/:?] at net.minecraft.world.level.chunk.LevelChunk$RebindableTickingBlockEntityWrapper.m142224(LevelChunk.java:766) ~[client-1.18.2-20220404.173914-srg.jar%2374!/:?] at net.minecraft.world.level.Level.m46463(Level.java:475) ~[client-1.18.2-20220404.173914-srg.jar%2374!/:?] at net.minecraft.server.level.ServerLevel.m8793(ServerLevel.java:327) ~[client-1.18.2-20220404.173914-srg.jar%2374!/:?] at net.minecraft.server.MinecraftServer.m5703(MinecraftServer.java:902) ~[client-1.18.2-20220404.173914-srg.jar%2374!/:?] ... 5 more I'm on 1.18.2 forge. List of mods: image

Schyler-Lowry commented 2 years ago

youre using an old version of reliquary. I had this same issue. Update to the latest version and the issue should be gone.

P3pp3rF1y commented 2 years ago

exactly as @DrGetgood says, just update to latest

haltalt commented 2 years ago

youre using an old version of reliquary. I had this same issue. Update to the latest version and the issue should be gone.

Forge tells me I am on the newest one... (updated: 6 days ago). Web curseforge says last update was 6 days ago, but the version doesn't match. Do I need to download from the web, or what?

Schyler-Lowry commented 2 years ago

Looking at your screenshot it shows you have version 1135. Most recent is 1137. Download it directly from curseforge. Latest is May 29th, reliquary-1.18.2-2.0.7.1137.jar