summaryrefslogtreecommitdiff
path: root/poisonivy/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'poisonivy/init.lua')
-rw-r--r--poisonivy/init.lua7
1 files changed, 6 insertions, 1 deletions
diff --git a/poisonivy/init.lua b/poisonivy/init.lua
index 466b930..8f7f7ba 100644
--- a/poisonivy/init.lua
+++ b/poisonivy/init.lua
@@ -1,7 +1,12 @@
-- This file supplies poison ivy for the plantlife modpack
-- Last revision: 2013-01-24
-local S = biome_lib.intllib
+local S
+if minetest.get_modpath("intllib") then
+ S = intllib.Getter()
+else
+ S = function(s) return s end
+end
local SPAWN_DELAY = 1000
local SPAWN_CHANCE = 200