mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-16 18:44:44 +00:00
Lowered the Gaia Guardian's arena player search diameter to 31 blocks (from 65)
This commit is contained in:
1 parent
ac395ad2b2
commit
6a39e8a28e
1 file changed
+2
-2
@@ -429,7 +429,7 @@ public class EntityDoppleganger extends EntityCreature implements IBotaniaBossWi
|
||||
|
||||
public List<EntityPlayer> getPlayersAround() {
|
||||
ChunkCoordinates source = getSource();
|
||||
float range = 32F;
|
||||
float range = 15F;
|
||||
List<EntityPlayer> players = worldObj.getEntitiesWithinAABB(EntityPlayer.class, AxisAlignedBB.getBoundingBox(source.posX + 0.5 - range, source.posY + 0.5 - range, source.posZ + 0.5 - range, source.posX + 0.5 + range, source.posY + 0.5 + range, source.posZ + 0.5 + range));
|
||||
return players;
|
||||
}
|
||||
@@ -460,7 +460,7 @@ public class EntityDoppleganger extends EntityCreature implements IBotaniaBossWi
|
||||
|
||||
ChunkCoordinates source = getSource();
|
||||
boolean hard = isHardMode();
|
||||
float range = 32F;
|
||||
float range = 15F;
|
||||
List<EntityPlayer> players = getPlayersAround();
|
||||
int playerCount = getPlayerCount();
|
||||
|
||||
|
||||
Reference in new issue
Block a user