summaryrefslogtreecommitdiff
path: root/api.lua
diff options
context:
space:
mode:
authorTenPlus1 <kinsellaja@yahoo.com>2016-10-29 16:41:16 +0100
committerTenPlus1 <kinsellaja@yahoo.com>2016-10-29 16:41:16 +0100
commitb1048cc892e71cb120a80cc6e7b5ac524134aed4 (patch)
treed19d72663ec28d6d502f5bb2c983c2dde7ba1625 /api.lua
parent31db77bab3ef8cd3f63fe1e30d301d9dd944c964 (diff)
tidy
Diffstat (limited to 'api.lua')
-rw-r--r--api.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/api.lua b/api.lua
index fdb96a7..db95700 100644
--- a/api.lua
+++ b/api.lua
@@ -2582,7 +2582,7 @@ function mobs:spawn(def)
local active_object_count = def.active_object_count or 1
local min_height = def.min_height or -31000
local max_height = def.max_height or 31000
- local day_toggle = def.day_toggle or nil
+ local day_toggle = def.day_toggle
local on_spawn = def.on_spawn
mobs:spawn_specific(name, nodes, neighbors, min_light, max_light, interval,