Beautify updates keys

This commit is contained in:
Daniel Mills
2021-08-06 23:08:48 -04:00
parent e9f4c3d0c7
commit a2a7689881
6 changed files with 118 additions and 20 deletions

View File

@@ -1401,4 +1401,9 @@ public interface Hunk<T> {
c[0] = x;
c[1] = y;
}
default boolean isEmpty()
{
return false;
}
}

View File

@@ -43,6 +43,11 @@ public class MappedHunk<T> extends StorageHunk<T> implements Hunk<T> {
return data.size();
}
public boolean isEmpty()
{
return data.isEmpty();
}
@Override
public void setRaw(int x, int y, int z, T t) {
if (t == null) {