From 1ef93eab377e4ab44acdb46a188b6cbe4eeb36f5 Mon Sep 17 00:00:00 2001 From: kay27 Date: Mon, 14 Feb 2022 02:25:19 +0000 Subject: [PATCH] #198 Fix a crash, step 13 --- mods/ENTITIES/mcl_item_entity/init.lua | 2 +- mods/ITEMS/mcl_shields/mod.conf | 2 +- mods/PLAYER/mcl_player/mod.conf | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/mods/ENTITIES/mcl_item_entity/init.lua b/mods/ENTITIES/mcl_item_entity/init.lua index 7b2b6c140..b1202f4ad 100644 --- a/mods/ENTITIES/mcl_item_entity/init.lua +++ b/mods/ENTITIES/mcl_item_entity/init.lua @@ -42,7 +42,7 @@ item_drop_settings.drop_single_item = false --if true, the drop control dro item_drop_settings.magnet_time = 0.75 -- how many seconds an item follows the player before giving up -function is_player = mcl_util.is_player +local is_player = mcl_util.is_player local function get_gravity() return tonumber(minetest.settings:get("movement_gravity")) or 9.81 diff --git a/mods/ITEMS/mcl_shields/mod.conf b/mods/ITEMS/mcl_shields/mod.conf index 8aded6a62..f30807bf1 100644 --- a/mods/ITEMS/mcl_shields/mod.conf +++ b/mods/ITEMS/mcl_shields/mod.conf @@ -1,3 +1,3 @@ name = mcl_shields author = NO11 -depends = mcl_damage, mcl_enchanting, mcl_banners, mcl_util, playerphysics +depends = mcl_damage, mcl_enchanting, mcl_banners, mcl_util, playerphysics, mcl_playerplus diff --git a/mods/PLAYER/mcl_player/mod.conf b/mods/PLAYER/mcl_player/mod.conf index 97ccce8e6..d092bd3f3 100644 --- a/mods/PLAYER/mcl_player/mod.conf +++ b/mods/PLAYER/mcl_player/mod.conf @@ -1,3 +1,4 @@ name = mcl_player author = celeron55 description = Adds the 3D player model, taken from Minetest Game 0.4.16. +depends = mcl_shields