From ce04c81482fd6cb91dde3bb892591e79617ec4e7 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Wed, 4 Jul 2018 01:53:08 +0200 Subject: [PATCH] Fix another crash in mcl_mobs --- mods/ENTITIES/mcl_mobs/api.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mods/ENTITIES/mcl_mobs/api.lua b/mods/ENTITIES/mcl_mobs/api.lua index 294d0c6f75..452ef55eba 100644 --- a/mods/ENTITIES/mcl_mobs/api.lua +++ b/mods/ENTITIES/mcl_mobs/api.lua @@ -2912,7 +2912,7 @@ local on_rightclick_prefix = function(self, clicker) if not mobs.is_creative(clicker:get_player_name()) then item:take_item() - player:set_wielded_item(item) + clicker:set_wielded_item(item) end return true end