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,10 +480,13 @@ 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()) {
|
if (y < currentData.getHeight()) {
|
||||||
currentData.set(x & 15, y, z & 15, d);
|
currentData.set(x & 15, y, z & 15, d);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
public BlockData getPostBlock(int x, int y, int z, int cpx, int cpz, Hunk<BlockData> h) {
|
public BlockData getPostBlock(int x, int y, int z, int cpx, int cpz, Hunk<BlockData> h) {
|
||||||
BlockData b = h.getClosest(x & 15, y, z & 15);
|
BlockData b = h.getClosest(x & 15, y, z & 15);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user