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