mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-07 12:01:50 +00:00
feat: 'stairs' rotation profile
This commit is contained in:
parent
50aae8b98b
commit
9463917164
4 changed files with 33 additions and 1 deletions
|
|
@ -122,6 +122,8 @@ template<> void ContentUnitLoader<Block>::loadUnit(
|
|||
def.rotations = BlockRotProfile::PIPE;
|
||||
} else if (profile == BlockRotProfile::PANE_NAME) {
|
||||
def.rotations = BlockRotProfile::PANE;
|
||||
} else if (profile == BlockRotProfile::STAIRS_NAME) {
|
||||
def.rotations = BlockRotProfile::STAIRS;
|
||||
} else if (profile != "none") {
|
||||
logger.error() << "unknown rotation profile " << profile;
|
||||
def.rotatable = false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue