mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
Merge remote-tracking branch 'upstream/main'
This commit is contained in:
commit
0e38698dae
154 changed files with 6818 additions and 2760 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue