mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 11:01:49 +00:00
torches rotation fix
This commit is contained in:
parent
0a529ead69
commit
a9b55f35be
1 changed files with 5 additions and 1 deletions
|
|
@ -293,7 +293,11 @@ void PlayerController::updateInteraction(){
|
|||
x = (iend.x)+(norm.x);
|
||||
y = (iend.y)+(norm.y);
|
||||
z = (iend.z)+(norm.z);
|
||||
}
|
||||
} else {
|
||||
if (def->rotations.name == "pipe") {
|
||||
states = BLOCK_DIR_UP;
|
||||
}
|
||||
}
|
||||
vox = chunks->get(x, y, z);
|
||||
blockid_t chosenBlock = def->rt.id;
|
||||
if (vox && (target = indices->getBlockDef(vox->id))->replaceable) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue