finallion / The-Graveyard-FORGE

The Graveyard adds new structures, mobs and blocks to your minecraft world, themed around the graveyard.
GNU General Public License v3.0
5 stars 8 forks source link

SarcophagusBlock error #101

Open someaddons opened 4 months ago

someaddons commented 4 months ago

What's the issue you encountered?

came across this packet issue when some players explored a crypt:

[17.02 22:38:49] [Server] [Server thread/ERROR] [minecraft/PacketUtils]: Failed to handle packet net.minecraft.network.protocol.game.ServerboundUseItemOnPacket@1b3f558f, suppressing error
[17.02 22:38:49] [Server] java.lang.IllegalArgumentExceptionCannot set property BooleanProperty{name=locked, clazz=class java.lang.Boolean, values=[true, false]} as it does not exist in Block{minecraft:air}
[17.02 22:38:49] [Server]   at net.minecraft.world.level.block.state.StateHolder.m_61124_(StateHolder.java:122) ~[server-1.20.1-20230612.114412-srg.jar%23327!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:ferritecore.fastmap.mixin.json:FastMapStateHolderMixin,pl:mixin:A}
[17.02 22:38:49] [Server]   at com.finallion.graveyard.blocks.SarcophagusBlock.spawnGhost(SarcophagusBlock.java:166) ~[The_Graveyard_2.6.2_(FORGE)_for_1.20+.jar%23315!/:1.{re:classloading}
[17.02 22:38:49] [Server]   at com.finallion.graveyard.blocks.SarcophagusBlock.m_6227_(SarcophagusBlock.java:138) ~[The_Graveyard_2.6.2_(FORGE)_for_1.20+.jar%23315!/:1.{re:classloading}
[17.02 22:38:49] [Server]   at net.minecraft.world.level.block.state.BlockBehaviour$BlockStateBase.m_60664_(BlockBehaviour.java:778) ~[server-1.20.1-20230612.114412-srg.jar%23327!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:starlight.mixins.json:common.blockstate.BlockStateBaseMixin,pl:mixin:APP:ferritecore.blockstatecache.mixin.json:BlockStateBaseMixin,pl:mixin:A}
[17.02 22:38:49] [Server]   at net.minecraft.server.level.ServerPlayerGameMode.m_7179_(ServerPlayerGameMode.java:343) ~[server-1.20.1-20230612.114412-srg.jar%23327!/:?] {re:computing_frames,re:classloading}
[17.02 22:38:49] [Server]   at net.minecraft.server.network.ServerGamePacketListenerImpl.m_6371_(ServerGamePacketListenerImpl.java:1057) ~[server-1.20.1-20230612.114412-srg.jar%23327!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:lagbegone.mixins.json:rubberbanding.ServerGamePacketListenerImplMixin,pl:mixin:APP:graveyard.mixins.json:ServerPlayNetworkHandlerMixin,pl:mixin:APP:mixins.artifacts.common.json:item.umbrella.server.ServerGamePacketListenerImplMixin,pl:mixin:APP:lagbegone.mixins.json:ServerPacketMixin,pl:mixin:APP:expandability-common.mixins.json:swimming.server.ServerGamePacketListenerImplMixin,pl:mixin:APP:connectivity.mixins.json:ServerPlayNetHandlerMixin,pl:mixin:A}
[17.02 22:38:49] [Server]   at net.minecraft.network.protocol.game.ServerboundUseItemOnPacket.m_5797_(ServerboundUseItemOnPacket.java:34) ~[server-1.20.1-20230612.114412-srg.jar%23327!/:?] {re:classloading}
[17.02 22:38:49] [Server]   at net.minecraft.network.protocol.game.ServerboundUseItemOnPacket.m_5797_(ServerboundUseItemOnPacket.java:8) ~[server-1.20.1-20230612.114412-srg.jar%23327!/:?] {re:classloading}
[17.02 22:38:49] [Server]   at net.minecraft.network.protocol.PacketUtils.m_263899_(PacketUtils.java:22) ~[server-1.20.1-20230612.114412-srg.jar%23327!/:?] {re:classloading}
[17.02 22:38:49] [Server]   at net.minecraft.server.TickTask.run(TickTask.java:18) ~[server-1.20.1-20230612.114412-srg.jar%23327!/:?] {re:classloading}
[17.02 22:38:49] [Server]   at net.minecraft.util.thread.BlockableEventLoop.m_6367_(BlockableEventLoop.java:156) ~[server-1.20.1-20230612.114412-srg.jar%23327!/:?] 

How can the issue be reproduced?

Probably reproducible in smp, didnt try myself yet. Unless its related to a certain modded item on opening

Logs

No response

Additional information

1.20.1 Forge mod version 2.6.2