diff --git a/mods/PLAYER/mcl_player_init/init.lua b/mods/PLAYER/mcl_player_init/init.lua new file mode 100644 index 0000000000..52967a4412 --- /dev/null +++ b/mods/PLAYER/mcl_player_init/init.lua @@ -0,0 +1,4 @@ +minetest.register_on_joinplayer(function(player) + -- Settable hand + player:get_inventory():set_size("hand", 1) +end) diff --git a/mods/PLAYER/mcl_player_init/mod.conf b/mods/PLAYER/mcl_player_init/mod.conf new file mode 100644 index 0000000000..8d559910ca --- /dev/null +++ b/mods/PLAYER/mcl_player_init/mod.conf @@ -0,0 +1,2 @@ +name = mcl_player_init +description = Initialize player gameplay stuff that are neither model nor HUD-related