forked from mtcontrib/homedecor_modpack
add placement hinting to the swing (currently used during smoketesting to avoid false positives)
This commit is contained in:
parent
ffeac9a1bd
commit
3555a6ae57
@ -241,6 +241,9 @@ homedecor.register("swing", {
|
|||||||
type = "fixed",
|
type = "fixed",
|
||||||
fixed = { -0.3125, 0.33, -0.125, 0.3125, 0.5, 0.1875 }
|
fixed = { -0.3125, 0.33, -0.125, 0.3125, 0.5, 0.1875 }
|
||||||
},
|
},
|
||||||
|
hint = {
|
||||||
|
place_on = "bottom"
|
||||||
|
},
|
||||||
on_place = function(itemstack, placer, pointed_thing)
|
on_place = function(itemstack, placer, pointed_thing)
|
||||||
local isceiling, pos = homedecor.find_ceiling(itemstack, placer, pointed_thing)
|
local isceiling, pos = homedecor.find_ceiling(itemstack, placer, pointed_thing)
|
||||||
if isceiling then
|
if isceiling then
|
||||||
|
Loading…
Reference in New Issue
Block a user