forked from epCode/extra_mobs
Nothing is happening rn
This commit is contained in:
parent
afe1a3b4eb
commit
dbdcbb9ad6
|
@ -10,7 +10,7 @@ minetest.register_entity("extra_mobs:hb_eye", {
|
||||||
on_activate = function(self)
|
on_activate = function(self)
|
||||||
for _,hb in pairs(minetest.get_objects_inside_radius(self.object:get_pos(), 1)) do
|
for _,hb in pairs(minetest.get_objects_inside_radius(self.object:get_pos(), 1)) do
|
||||||
if not hb:is_player() then
|
if not hb:is_player() then
|
||||||
minetest.chat_send_all(hb:get_luaentity().name)
|
minetest.chat_send_all("herobrine: I'm watching you...")
|
||||||
end
|
end
|
||||||
if not hb:is_player() and hb:get_luaentity().name == "extra_mobs:herobrine" then
|
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})
|
self.object:set_attach(hb, "Head", {x=0,y=-13.5,z=0}, {x=0,y=0,z=0})
|
||||||
|
|
Loading…
Reference in New Issue