diff --git a/mods/ENTITIES/mcl_mobs/api.lua b/mods/ENTITIES/mcl_mobs/api.lua index 86ab790331..9549b05dc2 100644 --- a/mods/ENTITIES/mcl_mobs/api.lua +++ b/mods/ENTITIES/mcl_mobs/api.lua @@ -2910,7 +2910,7 @@ local on_rightclick_prefix = function(self, clicker) update_tag(self) - if not mobs.is_creative(name) then + if not mobs.is_creative(clicker:get_player_name()) then item:take_item() player:set_wielded_item(item) end