PC-1034
The `z` variable wasn't being reset properly
This commit is contained in:
parent
66af3cc450
commit
f83550157c
@ -412,11 +412,11 @@ public class BuildData
|
||||
return;
|
||||
}
|
||||
|
||||
for (; x <= Math.max(CornerA.getBlockX(), CornerB.getBlockX()) ; x++)
|
||||
for (int dx = x; dx <= Math.max(CornerA.getBlockX(), CornerB.getBlockX()) ; dx++)
|
||||
{
|
||||
for (; z <= Math.max(CornerA.getBlockZ(), CornerB.getBlockZ()) ; z++)
|
||||
for (int dz = z; dz <= Math.max(CornerA.getBlockZ(), CornerB.getBlockZ()) ; dz++)
|
||||
{
|
||||
MapUtil.QuickChangeBlockAt(player.getWorld(), x, y, z, mat, data);
|
||||
MapUtil.QuickChangeBlockAt(player.getWorld(), dx, y, dz, mat, data);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user