9
0
mirror of https://github.com/VolmitSoftware/Iris.git synced 2025-12-30 20:39:21 +00:00

Fixes + Nowhere

This commit is contained in:
Daniel Mills
2021-07-10 23:23:39 -04:00
parent 18d8f07242
commit 2e19dbe05f
14 changed files with 278 additions and 41 deletions

View File

@@ -1002,6 +1002,15 @@ public interface Hunk<T>
{
if(x < 0 || x >= getWidth() || y < 0 || y >= getHeight() || z < 0 || z >= getDepth())
{
try
{
throw new RuntimeException();
}
catch(Throwable e)
{
e.printStackTrace();
}
Iris.warn(x + "," + y + "," + z + " does not fit within size " + getWidth() + "," + getHeight() + "," + getDepth() + " (0,0,0 to " + (getWidth() - 1) + "," + (getHeight() - 1) + "," + (getDepth() - 1) + ")");
}
}