1
0
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:
Tim 2015-09-10 10:29:00 +02:00
parent ffeac9a1bd
commit 3555a6ae57

View File

@ -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