Remove mcl_player_init

This commit is contained in:
Johannes Fritz 2023-03-27 12:09:13 -05:00 committed by Gitea
parent 80225bb8df
commit bef204f548
3 changed files with 4 additions and 7 deletions

View File

@ -91,6 +91,10 @@ else
minetest.register_on_joinplayer(mcl_meshhand.update_player)
end
minetest.register_on_joinplayer(function(player)
player:get_inventory():set_size("hand", 1)
end)
-- This is needed to deal damage when punching mobs
-- with random items in hand in survival mode
minetest.override_item("", {

View File

@ -1,4 +0,0 @@
minetest.register_on_joinplayer(function(player)
-- Settable hand
player:get_inventory():set_size("hand", 1)
end)

View File

@ -1,3 +0,0 @@
name = mcl_player_init
author = Wuzzy
description = Initialize player gameplay stuff that are neither model nor HUD-related