mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-07-18 18:23:06 +00:00
Fix post mod issues
This commit is contained in:
parent
b4c0d8e829
commit
f7ae9c06d8
@ -51,7 +51,7 @@ public class IrisPostModifier extends EngineAssignedModifier<BlockData> {
|
|||||||
PrecisionStopwatch p = PrecisionStopwatch.start();
|
PrecisionStopwatch p = PrecisionStopwatch.start();
|
||||||
int i;
|
int i;
|
||||||
AtomicInteger j = new AtomicInteger();
|
AtomicInteger j = new AtomicInteger();
|
||||||
if (multicore) {
|
if (false) {
|
||||||
BurstExecutor e = getEngine().burst().burst(output.getWidth());
|
BurstExecutor e = getEngine().burst().burst(output.getWidth());
|
||||||
for (i = 0; i < output.getWidth(); i++) {
|
for (i = 0; i < output.getWidth(); i++) {
|
||||||
int finalI = i;
|
int finalI = i;
|
||||||
@ -479,11 +479,8 @@ public class IrisPostModifier extends EngineAssignedModifier<BlockData> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void setPostBlock(int x, int y, int z, BlockData d, int currentPostX, int currentPostZ, Hunk<BlockData> currentData) {
|
public void setPostBlock(int x, int y, int z, BlockData d, int currentPostX, int currentPostZ, Hunk<BlockData> currentData) {
|
||||||
synchronized (currentData)
|
if (y < currentData.getHeight()) {
|
||||||
{
|
currentData.set(x & 15, y, z & 15, d);
|
||||||
if (y < currentData.getHeight()) {
|
|
||||||
currentData.set(x & 15, y, z & 15, d);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user