mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-07-18 10:12:53 +00:00
Fix jigsaw scaffold error (temp)
This commit is contained in:
parent
2818b207db
commit
ba91e433c3
@ -372,6 +372,7 @@ public interface EngineParallaxManager extends DataProvider, IObjectPlacer {
|
|||||||
if(getEngine().getDimension().getStronghold() != null)
|
if(getEngine().getDimension().getStronghold() != null)
|
||||||
{
|
{
|
||||||
List<IrisPosition> poss = getEngine().getCompound().getStrongholdPositions();
|
List<IrisPosition> poss = getEngine().getCompound().getStrongholdPositions();
|
||||||
|
poss = poss == null ? new KList<>() : null;
|
||||||
for (IrisPosition pos : poss) {
|
for (IrisPosition pos : poss) {
|
||||||
if (x == pos.getX() >> 4 && z == pos.getZ() >> 4) {
|
if (x == pos.getX() >> 4 && z == pos.getZ() >> 4) {
|
||||||
IrisJigsawStructure structure = getData().getJigsawStructureLoader().load(getEngine().getDimension().getStronghold());
|
IrisJigsawStructure structure = getData().getJigsawStructureLoader().load(getEngine().getDimension().getStronghold());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user