mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-04-11 10:16:34 +00:00
Height fixes
This commit is contained in:
@@ -87,7 +87,18 @@ public class AtomicSliver
|
||||
{
|
||||
return null;
|
||||
}
|
||||
FastBlockData b = block[h < 256 ? h : 256];
|
||||
|
||||
if(h > 255)
|
||||
{
|
||||
h = 255;
|
||||
}
|
||||
|
||||
if(h < 0)
|
||||
{
|
||||
h = 0;
|
||||
}
|
||||
|
||||
FastBlockData b = block[h];
|
||||
last = M.ms();
|
||||
|
||||
if(b == null)
|
||||
|
||||
Reference in New Issue
Block a user