mcl_mobs: Remove unused string
This commit is contained in:
parent
5aeb4aea74
commit
04c2da63ad
|
@ -2355,7 +2355,6 @@ local mob_punch = function(self, hitter, tflp, tool_capabilities, dir)
|
||||||
-- is mob protected?
|
-- is mob protected?
|
||||||
if self.protected and hitter:is_player()
|
if self.protected and hitter:is_player()
|
||||||
and minetest.is_protected(self.object:get_pos(), hitter:get_player_name()) then
|
and minetest.is_protected(self.object:get_pos(), hitter:get_player_name()) then
|
||||||
minetest.chat_send_player(hitter:get_player_name(), S("Mob has been protected!"))
|
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user