From 748087ac3f5a2b662d66a129090b8eee35b4586d Mon Sep 17 00:00:00 2001 From: kay27 Date: Tue, 6 Apr 2021 01:18:51 +0400 Subject: [PATCH] [extra_mobs] Remove chat debug messages --- mods/ENTITIES/extra_mobs/fox.lua | 1 - mods/ENTITIES/extra_mobs/herobrine.lua | 3 --- 2 files changed, 4 deletions(-) diff --git a/mods/ENTITIES/extra_mobs/fox.lua b/mods/ENTITIES/extra_mobs/fox.lua index b972fee1e3..db189e2233 100644 --- a/mods/ENTITIES/extra_mobs/fox.lua +++ b/mods/ENTITIES/extra_mobs/fox.lua @@ -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, diff --git a/mods/ENTITIES/extra_mobs/herobrine.lua b/mods/ENTITIES/extra_mobs/herobrine.lua index 3f382baa8f..27c75298e8 100644 --- a/mods/ENTITIES/extra_mobs/herobrine.lua +++ b/mods/ENTITIES/extra_mobs/herobrine.lua @@ -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