mirror of
https://git.minetest.land/Mineclonia/Mineclonia.git
synced 2024-11-18 06:05:10 +00:00
mcl_mobs: Remove unused string
This commit is contained in:
parent
5aeb4aea74
commit
04c2da63ad
1 changed files with 0 additions and 1 deletions
|
@ -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 a new issue