Island hashcode feature added.
This commit is contained in:
parent
778b334ceb
commit
d1cae3bf7f
@ -200,4 +200,8 @@ public class IslandWorldMap {
|
|||||||
public Point2 findIslandOrigin(int worldX, int worldZ) {
|
public Point2 findIslandOrigin(int worldX, int worldZ) {
|
||||||
return findIslandOrigin(worldX, worldZ, null);
|
return findIslandOrigin(worldX, worldZ, null);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public int calculateIslandHash(int worldX, int worldZ) {
|
||||||
|
return findIslandOrigin(worldX, worldZ).hashCode();
|
||||||
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user