mirror of
https://github.com/minetest-mods/moreblocks.git
synced 2025-01-11 18:30:22 +01:00
parent
b6f6bc8c71
commit
b0cb1d325a
@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
|
||||
|
||||
## [Unreleased]
|
||||
|
||||
### Fixed
|
||||
|
||||
- Node rotation now works correctly when placing Stairs+ nodes.
|
||||
|
||||
## [1.2.0] - 2018-11-24
|
||||
|
||||
### Added
|
||||
|
@ -30,6 +30,10 @@ stairsplus.register_single = function(category, alternate, info, modname, subnam
|
||||
end
|
||||
def.paramtype = "light"
|
||||
def.paramtype2 = def.paramtype2 or "facedir"
|
||||
|
||||
-- This makes node rotation work on placement
|
||||
def.place_param2 = nil
|
||||
|
||||
def.on_place = minetest.rotate_node
|
||||
if category ~= "slab" then
|
||||
def.description = S("%s " .. descriptions[category]):format(fields.description)
|
||||
|
Loading…
Reference in New Issue
Block a user