This commit is contained in:
MihailRis
2024-02-05 05:34:19 +03:00
parent 939f1a7d75
commit 54629b0b6c
2 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -306,7 +306,7 @@ void PlayerController::updateInteraction(){
if (def->grounded && !chunks->isSolidBlock(x, y-1, z)) {
chosenBlock = 0;
}
if (chosenBlock != vox->id) {
if (chosenBlock != vox->id && chosenBlock) {
chunks->set(x, y, z, chosenBlock, states);
lighting->onBlockSet(x,y,z, chosenBlock);
if (def->rt.funcsset.onplaced) {