From 39ecf85d39b411a74ad414b150e634f2de0d128e Mon Sep 17 00:00:00 2001 From: ryanhamshire Date: Sat, 28 Mar 2015 13:49:03 -0700 Subject: [PATCH] Perf: Claim search. --- src/me/ryanhamshire/GriefPrevention/DataStore.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/me/ryanhamshire/GriefPrevention/DataStore.java b/src/me/ryanhamshire/GriefPrevention/DataStore.java index 0781e87..d63d955 100644 --- a/src/me/ryanhamshire/GriefPrevention/DataStore.java +++ b/src/me/ryanhamshire/GriefPrevention/DataStore.java @@ -622,7 +622,7 @@ public abstract class DataStore //gets a unique, persistent identifier string for a chunk private String getChunkString(Location location) { - return (location.getBlockX() >> 4) + location.getWorld().getName() + (location.getBlockZ() >> 4); + return String.valueOf(location.getBlockX() >> 4) + (location.getBlockZ() >> 4); } //creates a claim.