[extra_mobs] Remove chat debug messages

This commit is contained in:
kay27 2021-04-06 01:18:51 +04:00
parent 807126c517
commit 748087ac3f
2 changed files with 0 additions and 4 deletions

View File

@ -71,7 +71,6 @@ local fox = {
runaway = true,
on_spawn = function(self)
if minetest.find_node_near(self.object:get_pos(), 4, "mcl_core:snow") ~= nil or minetest.find_node_near(self.object:get_pos(), 4, "mcl_core:dirt_with_grass_snow") ~= nil then
minetest.chat_send_all("true")
self.object:set_properties({textures={"extra_mobs_artic_fox.png", "extra_mobs_trans.png"}})
end
end,

View File

@ -9,9 +9,6 @@ minetest.register_entity("extra_mobs:hb_eye", {
visual_size = {x=1, y=1},
on_activate = function(self)
for _,hb in pairs(minetest.get_objects_inside_radius(self.object:get_pos(), 1)) do
if not hb:is_player() then
minetest.chat_send_all(hb:get_luaentity().name)
end
if not hb:is_player() and hb:get_luaentity().name == "extra_mobs:herobrine" then
self.object:set_attach(hb, "Head", {x=0,y=-13.5,z=0}, {x=0,y=0,z=0})
end