diff --git a/PlotSquared/src/main/java/com/intellectualcrafters/plot/Plot.java b/PlotSquared/src/main/java/com/intellectualcrafters/plot/Plot.java index ffae6bb9f..6fbcea5bb 100644 --- a/PlotSquared/src/main/java/com/intellectualcrafters/plot/Plot.java +++ b/PlotSquared/src/main/java/com/intellectualcrafters/plot/Plot.java @@ -277,4 +277,14 @@ public class Plot implements Cloneable { PlotHelper.clear(plr, this); } + @Override + public int hashCode() { + final int + x = getId().x, + z = getId().y; + String + xL = (x + "").length() + "", + zL = (z + "").length() + ""; + return Integer.parseInt(xL + x + zL + z); + } }