mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-04-14 19:56:25 +00:00
Loot
This commit is contained in:
@@ -101,7 +101,7 @@ public class AtomicSliver
|
||||
modified = true;
|
||||
block.put(h, d);
|
||||
|
||||
if(B.isLit(d))
|
||||
if(B.isUpdatable(d))
|
||||
{
|
||||
update(h);
|
||||
}
|
||||
@@ -293,4 +293,9 @@ public class AtomicSliver
|
||||
{
|
||||
return M.ms() - last > m;
|
||||
}
|
||||
|
||||
public void inject(KSet<Integer> updatables)
|
||||
{
|
||||
update.addAll(updatables);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -114,4 +114,15 @@ public class AtomicSliverMap
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
public void injectUpdates(AtomicSliverMap map)
|
||||
{
|
||||
for(int i = 0; i < 16; i++)
|
||||
{
|
||||
for(int j = 0; j < 16; j++)
|
||||
{
|
||||
getSliver(i, j).inject(map.getSliver(i, j).getUpdatables());
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user