mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-26 12:35:15 +01:00
minor sponge cleanup
This commit is contained in:
parent
2e7d95f5a6
commit
eab918bcd4
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user