Fix settable hand
This commit is contained in:
parent
581f0fa2dd
commit
cfac33a94f
4
mods/PLAYER/mcl_player_init/init.lua
Normal file
4
mods/PLAYER/mcl_player_init/init.lua
Normal file
|
@ -0,0 +1,4 @@
|
|||
minetest.register_on_joinplayer(function(player)
|
||||
-- Settable hand
|
||||
player:get_inventory():set_size("hand", 1)
|
||||
end)
|
2
mods/PLAYER/mcl_player_init/mod.conf
Normal file
2
mods/PLAYER/mcl_player_init/mod.conf
Normal file
|
@ -0,0 +1,2 @@
|
|||
name = mcl_player_init
|
||||
description = Initialize player gameplay stuff that are neither model nor HUD-related
|
Loading…
Reference in New Issue
Block a user