From d0f5142d1fe0d7982a9601523bc7dde0e37f12c7 Mon Sep 17 00:00:00 2001 From: NovaFox161 Date: Mon, 14 May 2018 15:00:24 -0500 Subject: [PATCH] Hopefully this solves some null errors maybe --- src/main/java/com/songoda/epicfarming/farming/Farm.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/songoda/epicfarming/farming/Farm.java b/src/main/java/com/songoda/epicfarming/farming/Farm.java index 07e7c74..2b5302d 100644 --- a/src/main/java/com/songoda/epicfarming/farming/Farm.java +++ b/src/main/java/com/songoda/epicfarming/farming/Farm.java @@ -289,7 +289,7 @@ public class Farm implements IFarm { @Override public Location getLocation() { - return location.clone(); + return location; } public void setLocation(Location location) {