Nothing is happening rn

This commit is contained in:
epCode 2021-04-14 22:11:50 +00:00
parent afe1a3b4eb
commit dbdcbb9ad6
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@ minetest.register_entity("extra_mobs:hb_eye", {
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)
minetest.chat_send_all("herobrine: I'm watching you...")
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})