Merge remote-tracking branch 'upstream/main'

This commit is contained in:
DanielProl1xy
2024-02-19 10:23:29 +03:00
154 changed files with 6818 additions and 2760 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) {