fix spawning area posmin to reflect an actual 8x8x3 area

master
Juraj Vajda 2018-01-07 11:48:46 -05:00
parent d2f2f590ed
commit 00938b043f
1 changed files with 1 additions and 1 deletions

View File

@ -203,7 +203,7 @@ function spawners_mobs.on_timer(pos, elapsed)
if not mob_table then return end
local posmin = { x = pos.x - 4, y = pos.y - 1, z = pos.z - 4 }
local posmin = { x = pos.x - 3, y = pos.y - 1, z = pos.z - 3 }
local posmax = { x = pos.x + 4, y = pos.y + 1, z = pos.z + 4 }
local player_near = false
local entities_near = 0