Skip to content

Commit

Permalink
Workaround for nametags disappearance
Browse files Browse the repository at this point in the history
  • Loading branch information
savilli authored and LoneWolfHT committed Dec 25, 2023
1 parent d8fc11c commit 73a3df1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/serverenvironment.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2085,7 +2085,7 @@ void ServerEnvironment::deactivateFarObjects(bool _force_delete)
// If block is still active, don't remove
bool still_active = obj->isStaticAllowed() ?
m_active_blocks.contains(blockpos_o) :
getMap().getBlockNoCreateNoEx(blockpos_o) != nullptr;
true;
if (!force_delete && still_active)
return false;

Expand Down

0 comments on commit 73a3df1

Please sign in to comment.