mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-07 20:11:50 +00:00
add ladder block rotation
This commit is contained in:
parent
e00038327f
commit
e2806fb19c
5 changed files with 32 additions and 1 deletions
|
|
@ -151,6 +151,8 @@ template<> void ContentUnitLoader<Block>::loadUnit(
|
|||
def.rotations = BlockRotProfile::PANE;
|
||||
} else if (profile == BlockRotProfile::STAIRS_NAME) {
|
||||
def.rotations = BlockRotProfile::STAIRS;
|
||||
} else if (profile == BlockRotProfile::LADDER_NAME) {
|
||||
def.rotations = BlockRotProfile::LADDER;
|
||||
} else if (profile != "none") {
|
||||
logger.error() << "unknown rotation profile " << profile;
|
||||
def.rotatable = false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue