Fix nasty mass destruction volume bug when volume is moved

Have to experience it first hand yourself with your own work. Bugs suck.
This commit is contained in:
cmastudios 2013-10-09 23:15:07 -05:00
parent 60e74eff99
commit ac12c2af29

View File

@ -69,6 +69,7 @@ public class Volume {
}
public void saveBlocks() {
this.blocks.clear();
for (int x = this.getMinX(); x <= this.getMaxX(); x++) {
for (int y = this.getMinY(); y <= this.getMaxY(); y++) {
for (int z = this.getMinZ(); z <= this.getMaxZ(); z++) {