From 7655b6733808572aa2d7c7c6f5ae52d9daab31c2 Mon Sep 17 00:00:00 2001 From: MagicBot Date: Wed, 11 Oct 2023 10:42:04 -0400 Subject: [PATCH] Debug code added --- src/engine/InterestManagement/Terrain.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/engine/InterestManagement/Terrain.java b/src/engine/InterestManagement/Terrain.java index 327fc06c..3254d547 100644 --- a/src/engine/InterestManagement/Terrain.java +++ b/src/engine/InterestManagement/Terrain.java @@ -170,7 +170,8 @@ public class Terrain { return interpolatedHeight; } catch (Exception e) { - throw new RuntimeException(e); + Logger.error(this.zone.zoneName + ":" + this.zone.getObjectUUID()); + return 0; } }