mirror of
https://github.com/webbukkit/dynmap.git
synced 2025-02-20 05:52:32 +01:00
Fix rare boundary condition error
This commit is contained in:
parent
05aa0960f2
commit
14ecd5f778
@ -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…
Reference in New Issue
Block a user