mirror of
https://github.com/taoneill/war.git
synced 2024-09-30 07:27:27 +02:00
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:
parent
60e74eff99
commit
ac12c2af29
@ -69,6 +69,7 @@ public class Volume {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void saveBlocks() {
|
public void saveBlocks() {
|
||||||
|
this.blocks.clear();
|
||||||
for (int x = this.getMinX(); x <= this.getMaxX(); x++) {
|
for (int x = this.getMinX(); x <= this.getMaxX(); x++) {
|
||||||
for (int y = this.getMinY(); y <= this.getMaxY(); y++) {
|
for (int y = this.getMinY(); y <= this.getMaxY(); y++) {
|
||||||
for (int z = this.getMinZ(); z <= this.getMaxZ(); z++) {
|
for (int z = this.getMinZ(); z <= this.getMaxZ(); z++) {
|
||||||
|
Loading…
Reference in New Issue
Block a user