Merge remote-tracking branch 'upstream/main'
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user