Skip to content

Commit

Permalink
no idea why this is going on tbh
Browse files Browse the repository at this point in the history
  • Loading branch information
Kade-github committed May 25, 2024
1 parent 2fa0692 commit 0386cd7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Game/Objects/Base/Blocks/Torch.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ bool Torch::Update(int tick)
Data::InventoryItem i(Data::ITEM_TORCH, 1);
switch (_facing)
{
case 0:
default:
if (currentChunk->GetBlock(position.x, position.y - 1, position.z) == 0)
{
currentChunk->ModifyBlock(chunkPosition.x, chunkPosition.y, chunkPosition.z, 0);
Expand Down

0 comments on commit 0386cd7

Please sign in to comment.