1
0
mirror of https://github.com/pyrollo/display_modpack.git synced 2025-02-03 20:10:21 +01:00

signs aren't ground content

also some whitespace indent fixes
This commit is contained in:
Luke aka SwissalpS 2024-02-29 10:53:02 +01:00 committed by GitHub
parent 5875e1aa96
commit 864a760b6e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -193,10 +193,13 @@ function signs_api.register_sign(mod, name, model)
drawtype = "nodebox",
node_box = {
type = "fixed",
fixed = {-model.width/2, -model.height/2, 0.5,
model.width/2, model.height/2, 0.5 - model.depth},
fixed = {
-model.width/2, -model.height/2, 0.5,
model.width/2, model.height/2, 0.5 - model.depth
},
},
groups = {choppy=2, dig_immediate=2, not_blocking_trains=1, display_api=1},
is_ground_content = false,
sounds = default.node_sound_defaults(),
display_entities = {
["signs:display_text"] = {
@ -206,7 +209,6 @@ function signs_api.register_sign(mod, name, model)
aspect_ratio = 1/2,
maxlines = 1,
},
},
on_place = display_api.on_place,
on_construct = function(pos)