Fix rare boundary condition error
This commit is contained in:
parent
79538435ef
commit
c3b2e1176c
1 changed files with 2 additions and 2 deletions
|
|
@ -16,7 +16,7 @@ import org.dynmap.Log;
|
||||||
*/
|
*/
|
||||||
public class TileFlags {
|
public class TileFlags {
|
||||||
private HashMap<Long, long[]> chunkmap = new HashMap<Long, long[]>();
|
private HashMap<Long, long[]> chunkmap = new HashMap<Long, long[]>();
|
||||||
private long last_key = Long.MIN_VALUE;
|
private long last_key = Long.MAX_VALUE;
|
||||||
private long[] last_row;
|
private long[] last_row;
|
||||||
|
|
||||||
public TileFlags() {
|
public TileFlags() {
|
||||||
|
|
@ -101,6 +101,6 @@ public class TileFlags {
|
||||||
public void clear() {
|
public void clear() {
|
||||||
chunkmap.clear();
|
chunkmap.clear();
|
||||||
last_row = null;
|
last_row = null;
|
||||||
last_key = Long.MIN_VALUE;
|
last_key = Long.MAX_VALUE;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue