mirror of
https://github.com/pyrollo/display_modpack.git
synced 2025-01-08 12:17:29 +01:00
Merge pull request #40 from R3R3R3/master
Override on_punch for poster node definition
This commit is contained in:
commit
b12d1f6b5e
@ -210,6 +210,9 @@ local models = {
|
|||||||
on_construct = display_api.on_construct,
|
on_construct = display_api.on_construct,
|
||||||
on_rightclick = display_poster,
|
on_rightclick = display_poster,
|
||||||
on_receive_fields = on_receive_fields_poster,
|
on_receive_fields = on_receive_fields_poster,
|
||||||
|
on_punch = function(pos, node, player, pointed_thing)
|
||||||
|
display_api.update_entities(pos)
|
||||||
|
end,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
label_small = {
|
label_small = {
|
||||||
|
Loading…
Reference in New Issue
Block a user