mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
audio fixes
This commit is contained in:
parent
3ee350fc0c
commit
8ac51752d3
12 changed files with 49 additions and 7 deletions
|
|
@ -382,7 +382,7 @@ void PlayerController::updateInteraction(){
|
|||
Block* target = indices->getBlockDef(vox->id);
|
||||
if (lclick && target->breakable){
|
||||
onBlockInteraction(
|
||||
glm::ivec3(x, y, z), def,
|
||||
glm::ivec3(x, y, z), target,
|
||||
BlockInteraction::destruction
|
||||
);
|
||||
blocksController->breakBlock(player.get(), target, x, y, z);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue