From 168fe6b8628fc24a156e9a57fb94fb95ab5f497e Mon Sep 17 00:00:00 2001 From: neoapps-dev Date: Sun, 19 Apr 2026 18:02:10 +0300 Subject: [PATCH 1/2] fix: build issue due to duplicates --- Minecraft.Client/Common/Audio/SoundEngine.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Minecraft.Client/Common/Audio/SoundEngine.h b/Minecraft.Client/Common/Audio/SoundEngine.h index 411000b1..1d2b4f90 100644 --- a/Minecraft.Client/Common/Audio/SoundEngine.h +++ b/Minecraft.Client/Common/Audio/SoundEngine.h @@ -158,8 +158,6 @@ private: #endif int GetRandomishTrack(int iStart,int iEnd); - void updateMiniAudio(); - inline void getGameModeMusicID(Minecraft* pMinecraft, unsigned int i); ma_engine m_engine; ma_engine_config m_engineConfig; @@ -203,4 +201,4 @@ private: #ifdef __ORBIS__ int32_t m_hBGMAudio; #endif -}; \ No newline at end of file +}; From 0d2f561106c19887fd3855f492b8c439b30360f8 Mon Sep 17 00:00:00 2001 From: Lord_Cambion Date: Sun, 19 Apr 2026 22:30:17 +0200 Subject: [PATCH 2/2] fix: doorplacing + stacksize now you can place doors on top of topslabs and incresed maxstack size to 64 --- Minecraft.World/DoorItem.cpp | 2 +- Minecraft.World/DoorTile.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Minecraft.World/DoorItem.cpp b/Minecraft.World/DoorItem.cpp index 24f9ca59..7406a2fd 100644 --- a/Minecraft.World/DoorItem.cpp +++ b/Minecraft.World/DoorItem.cpp @@ -16,7 +16,7 @@ DoorItem::DoorItem(int id, Material *material, const wstring& doorType) : Item( { this->material = material; this->doorType = doorType; - maxStackSize = 1; + maxStackSize = 64; } bool DoorItem::useOn(shared_ptr instance, shared_ptr player, Level *level, int x, int y, int z, int face, float clickX, float clickY, float clickZ, bool bTestUseOnOnly) diff --git a/Minecraft.World/DoorTile.cpp b/Minecraft.World/DoorTile.cpp index 59e7a14e..300f4e39 100644 --- a/Minecraft.World/DoorTile.cpp +++ b/Minecraft.World/DoorTile.cpp @@ -248,7 +248,7 @@ void DoorTile::neighborChanged(Level *level, int x, int y, int z, int type) level->removeTile(x, y, z); spawn = true; } - if (!level->isSolidBlockingTile(x, y - 1, z)) + if (!level->isTopSolidBlocking(x, y - 1, z)) { level->removeTile(x, y, z); spawn = true;