-
Bug
-
Resolution: Fixed
-
None
-
1.18.0.24 Beta, 1.17.41 Hotfix
-
None
-
Confirmed
-
Multiple
-
654005
seems to have been in the game for a long time. Confirmed this all the way back as 1.16.40 and of course, 1.17.41. Also happens in BDS.
explanation of issue:
when trying to use the setblock command, if you remove the base chest of a double chest while the player has the container open AND there is an item in the 28+ slot, the game will crash. this is a bit niche and hard to explain so heres a video. The tests before the crash show that it seems to work properly in those instances.
expected results:
when using the setblock (or fill) command, the game wont crash when the player has the paired double chest open
actual results:
game crashes
call stack:
at void ChestBlockActor::serverInitItemStackIds[int,int,class std::function<void >] (UnknownFile:?) at void ChestBlockActor::serverInitItemStackIds[int,int,class std::function<void >] (UnknownFile:?) at void ServerPlayer::slotChanged[class IContainerManager &,class Container &,int,class ItemStack const &,class ItemStack const &,bool] (UnknownFile:?) at void LevelContainerManagerModel::broadcastChanges[void] (UnknownFile:?) at void ServerPlayer::normalTick[void] (UnknownFile:?) at PostInit (UnknownFile:?) at bool Actor::tick[class BlockSource &] (UnknownFile:?) at int Player::tickWorld[struct Tick const &] (UnknownFile:?) at int ServerPlayer::tickWorld[struct Tick const &] (UnknownFile:?) at struct std::_List_node<struct std::pair<struct ActorUniqueID const ,class std::unique_ptr<class MapItemSavedData,struct std::default_delete<class MapItemSavedData> > >,void *> * std::_List_buy<struct std::pair<struct ActorUniqueID const ,class std::unique_ptr<class MapItemSavedData,struct std::default_delete<class MapItemSavedData> > >,class std::allocator<struct std::pair<struct ActorUniqueID const ,class std::unique_ptr<class MapItemSavedData,struct std::default_delete<class MapItemSavedData> > > > >::_Buynode<struct ActorUniqueID const &,class std::unique_ptr<class MapItemSavedData,struct std::default_delete<class MapItemSavedData> > >[struct std::_List_node<struct std::pair<struct ActorUniqueID const ,class std::unique_ptr<class MapItemSavedData,struct std::default_delete<class MapItemSavedData> > >,void *> *,struct std::_List_node<struct std::pair<struct ActorUniqueID const ,class std::unique_ptr<class MapItemSavedData,struct std::default_delete<class MapItemSavedData> > >,void *> *,struct ActorUniqueID const &,class std::unique_ptr<class MapItemSavedData,struct std::default_delete<class MapItemSavedData> > &&] (UnknownFile:?) at void Level::forEachPlayer[class std::function<bool >] (UnknownFile:?) at void Level::tick[void] (UnknownFile:?) at void ServerLevel::tick[void] (UnknownFile:?) at bool Minecraft::update[void] (UnknownFile:?) at void ServerInstance::_update[void] (UnknownFile:?) at void ServerInstance::startServerThread[void] (UnknownFile:?) at bool SPSCQueue<class std::function<void >,512>::inner_enqueue<0,class std::function<void > >[class std::function<void > &&] (UnknownFile:?) at unsigned int std::_Pad::_Call_func[void *] (UnknownFile:?) at configthreadlocale (UnknownFile:?) at BaseThreadInitThunk (UnknownFile:?) at RtlUserThreadStart (UnknownFile:?)