From 23ffc0d0da463ec75de50a1e2b16da2075d4b2b7 Mon Sep 17 00:00:00 2001 From: TenPlus1 Date: Sat, 11 Jun 2016 08:39:26 +0100 Subject: [PATCH] updated rat do_custom example --- rat.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rat.lua b/rat.lua index a468524..11e4bd8 100644 --- a/rat.lua +++ b/rat.lua @@ -41,6 +41,8 @@ mobs:register_mob("mobs_animal:rat", { local pos = self.object:getpos() print("rat pos", pos.x, pos.y, pos.z, dtime) + + return false -- return but skip doing rest of API end, ]] --[[