diff --git a/Sponge/src/main/java/com/plotsquared/sponge/util/SpongeSchematicHandler.java b/Sponge/src/main/java/com/plotsquared/sponge/util/SpongeSchematicHandler.java index 022e4146e..9c1c81f56 100644 --- a/Sponge/src/main/java/com/plotsquared/sponge/util/SpongeSchematicHandler.java +++ b/Sponge/src/main/java/com/plotsquared/sponge/util/SpongeSchematicHandler.java @@ -123,11 +123,11 @@ public class SpongeSchematicHandler extends SchematicHandler { ChunkLoc chunk = chunks.remove(0); int X = chunk.x; int Z = chunk.z; - int xxb = X << 4; - int zzb = Z << 4; - if (!worldObj.getChunk(xxb, 1, zzb).isPresent() && !worldObj.loadChunk(xxb, 1, zzb, false).isPresent()) { + if (!worldObj.getChunk(X, 0, Z).isPresent() && !worldObj.loadChunk(X, 0, Z, false).isPresent()) { continue; } + int xxb = X << 4; + int zzb = Z << 4; int xxt = xxb + 15; int zzt = zzb + 15;