From 313b59d1d690d171202397d75eca0dd5d6bb36d6 Mon Sep 17 00:00:00 2001 From: Ben Date: Sun, 10 Apr 2016 16:51:42 +0100 Subject: [PATCH] Fix the terrain finder miscalculating the size of undead camps --- .../game/clans/clans/worldevent/EventTerrainFinder.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Plugins/Mineplex.Game.Clans/src/mineplex/game/clans/clans/worldevent/EventTerrainFinder.java b/Plugins/Mineplex.Game.Clans/src/mineplex/game/clans/clans/worldevent/EventTerrainFinder.java index 0f8018dc0..4cc189f34 100644 --- a/Plugins/Mineplex.Game.Clans/src/mineplex/game/clans/clans/worldevent/EventTerrainFinder.java +++ b/Plugins/Mineplex.Game.Clans/src/mineplex/game/clans/clans/worldevent/EventTerrainFinder.java @@ -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; }