mirror of
https://github.com/mt-mods/homedecor_modpack.git
synced 2024-12-23 00:20:17 +01:00
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",
|
||||
fixed = { -0.3125, 0.33, -0.125, 0.3125, 0.5, 0.1875 }
|
||||
},
|
||||
hint = {
|
||||
place_on = "bottom"
|
||||
},
|
||||
on_place = function(itemstack, placer, pointed_thing)
|
||||
local isceiling, pos = homedecor.find_ceiling(itemstack, placer, pointed_thing)
|
||||
if isceiling then
|
||||
|
Loading…
Reference in New Issue
Block a user