minor sponge cleanup

This commit is contained in:
Jesse Boyd 2018-09-10 07:46:56 +10:00
parent 2e7d95f5a6
commit eab918bcd4
No known key found for this signature in database
GPG Key ID: 59F1DE6293AF6E1F

View File

@ -147,10 +147,10 @@ public class SpongeSchematicHandler extends SchematicHandler {
int ry = y - sy;
int i1 = ry * width * length;
for (int z = zzb; z <= zzt; z++) {
int rz = z - p1z;
int rz = z - bz;
int i2 = i1 + rz * width;
for (int x = xxb; x <= xxt; x++) {
int rx = x - p1x;
int rx = x - bx;
int index = i2 + rx;
BlockState state = worldObj.getBlock(x, y, z);