Update Fork #1

Merged
chmodsayshello merged 696 commits from MineClone5/MineClone5:master into master 2022-03-23 14:40:26 +01:00
1 changed files with 1 additions and 3 deletions
Showing only changes of commit 04094f97fa - Show all commits

View File

@ -17,8 +17,6 @@ local is_sprinting = mcl_sprint.is_sprinting
local exhaust = mcl_hunger.exhaust local exhaust = mcl_hunger.exhaust
local playerphysics = playerphysics local playerphysics = playerphysics
local is_player = mcl_util.is_player
local vector = vector local vector = vector
local math = math local math = math
-- Internal player state -- Internal player state
@ -37,7 +35,7 @@ local function player_collision(player)
for _,object in pairs(minetest.get_objects_inside_radius(pos, width)) do for _,object in pairs(minetest.get_objects_inside_radius(pos, width)) do
if object and (is_player(object) if object and ((mcl_util and mcl_util.is_player(object))
or (object:get_luaentity()._cmi_is_mob == true and object ~= player)) then or (object:get_luaentity()._cmi_is_mob == true and object ~= player)) then
local pos2 = object:get_pos() local pos2 = object:get_pos()