From 1c3d11ca308e81a5f0b8607dcfe7afeef95a7a64 Mon Sep 17 00:00:00 2001 From: TenPlus1 Date: Sun, 9 Jul 2017 14:09:34 +0100 Subject: update intllib --- sheep.lua | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'sheep.lua') diff --git a/sheep.lua b/sheep.lua index 4cd6506..757c34f 100644 --- a/sheep.lua +++ b/sheep.lua @@ -69,7 +69,11 @@ for _, col in ipairs(all_colours) do replace_with = "air", replace_offset = -1, fear_height = 3, - +--[[ + on_replace = function(self, pos, oldnode, newnode) + print ("---- replaced") ; return false -- false to keep node, true to replace + end, +]] on_rightclick = function(self, clicker) --are we feeding? -- cgit v1.2.3