02-22-2015, 08:38 PM
You could replace these 9 calls in OnWorldInitialised(World) with two for loops:
* (Mostlikely not a piece of working lua code)
Code:
for i in -1 ... 1 do
for j in -1 ... 1 do
World:SetChunkAlwaysTicked(World:GetSpawnX() / 16 + i, World:GetSpawnZ() / 16 + j, true)
end
end