mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2025-02-17 21:23:44 +01:00
Fix settable hand
This commit is contained in:
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
|
Reference in New Issue
Block a user