mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-05 07:41:06 +01:00
Fix settable hand
This commit is contained in:
parent
581f0fa2dd
commit
cfac33a94f
2 changed files with 6 additions and 0 deletions
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 a new issue