mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-07-18 10:12:53 +00:00
Fixes
This commit is contained in:
parent
fc678684f5
commit
16fa453163
@ -480,8 +480,11 @@ 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) {
|
||||||
if (y < currentData.getHeight()) {
|
synchronized (currentData)
|
||||||
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