Perf: Claim search.

This commit is contained in:
ryanhamshire 2015-03-28 13:49:03 -07:00
parent 29264350c4
commit 39ecf85d39

View File

@ -622,7 +622,7 @@ public abstract class DataStore
//gets a unique, persistent identifier string for a chunk //gets a unique, persistent identifier string for a chunk
private String getChunkString(Location location) 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. //creates a claim.