From b1c31534e0d7ab2e6d22f861af9c73346b74f53a Mon Sep 17 00:00:00 2001 From: Brianna Date: Thu, 11 Apr 2019 17:47:23 -0400 Subject: [PATCH] typo --- src/main/java/com/songoda/ultimatestacker/utils/Methods.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/songoda/ultimatestacker/utils/Methods.java b/src/main/java/com/songoda/ultimatestacker/utils/Methods.java index d0a848f..7b31540 100644 --- a/src/main/java/com/songoda/ultimatestacker/utils/Methods.java +++ b/src/main/java/com/songoda/ultimatestacker/utils/Methods.java @@ -115,10 +115,10 @@ public class Methods { public static List getSimilarEntitesAroundEntity(Entity initalEntity) { - int searcRadius = SettingsManager.Settings.SEARCH_RADIUS.getInt(); + int searchRadius = SettingsManager.Settings.SEARCH_RADIUS.getInt(); //Create a list of all entities around the initial entity of the same type. - List entityList = initalEntity.getNearbyEntities(searcRadius, searcRadius, searcRadius).stream() + List entityList = initalEntity.getNearbyEntities(searchRadius, searchRadius, searchRadius).stream() .filter(entity -> entity.getType() == initalEntity.getType() && entity != initalEntity) .collect(Collectors.toList());