forked from mtcontrib/homedecor_modpack
MT5 translation for homedecor_common
- Remove intllib support - Fix luacheck warnings (except for 1 I don't know what to do) - Removes homedecor_common/mt_game_beds_functions.lua (we can get the function directly from `beds` mod instead of using an obsolete copie; I have not re-enabled bed-sleeping, but it should work)
This commit is contained in:
@ -45,8 +45,8 @@ function homedecor.register(name, original_def)
|
||||
-- dissallow rotating only half the expanded node by default
|
||||
-- unless we know better
|
||||
def.on_rotate = def.on_rotate
|
||||
or (def.mesh and expand.top and screwdriver.rotate_simple)
|
||||
or screwdriver.disallow
|
||||
or (minetest.get_modpath("screwdriver") and (def.mesh and expand.top and screwdriver.rotate_simple)
|
||||
or screwdriver.disallow) or nil
|
||||
|
||||
def.on_place = def.on_place or function(itemstack, placer, pointed_thing)
|
||||
if expand.top then
|
||||
|
Reference in New Issue
Block a user