mirror of
https://github.com/Sokomine/cottages.git
synced 2026-01-14 04:55:40 +01:00
rewrite sitting/sleeping
- makes use of the modern player_api - fixes a crash due to api-change in set_physics_override - fixes eye offset issue
This commit is contained in:
@@ -61,7 +61,7 @@ minetest.register_node("cottages:straw_mat", {
|
||||
paramtype = 'light',
|
||||
paramtype2 = "facedir",
|
||||
walkable = false,
|
||||
groups = { hay = 3, snappy = 2, oddly_breakable_by_hand = 2, flammable=3 },
|
||||
groups = { hay = 3, snappy = 2, oddly_breakable_by_hand = 2, flammable=3 , sleeping_mat=1, },
|
||||
sounds = cottages.sounds.leaves,
|
||||
node_box = {
|
||||
type = "fixed",
|
||||
|
||||
Reference in New Issue
Block a user