Fix the terrain finder miscalculating the size of undead camps

This commit is contained in:
Ben 2016-04-10 16:51:42 +01:00
parent e014f4fff9
commit 313b59d1d6
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ public class EventTerrainFinder
loc.Set(UtilBlock.getHighest(chunk.getWorld(), chunk.getBlock(0, 0, 0)).getLocation());
});
if (!UtilWorld.isBoxInWorldBorder(world, loc.Get().clone().subtract(size, vert, size), loc.Get().clone().add(size, vert, size)))
if (!UtilWorld.isBoxInWorldBorder(world, loc.Get().clone().subtract(size * 2, vert, size * 2), loc.Get().clone().add(size * 2, vert, size * 2)))
{
continue;
}