fixed typos

This commit is contained in:
Charlie 2014-07-31 20:47:09 -04:00
parent 7ff0c81c06
commit f948a6917b

View File

@ -338,7 +338,7 @@ public class DiscoParty {
}
void randomizeFloor(Block block, int index) {
int to_color = (index + state) % disocColours.length;
int to_color = (index + state) % discoColours.length;
block.setType(Material.WOOL);
block.setData(discoColours[to_color].getData());
}
@ -434,8 +434,8 @@ public class DiscoParty {
}
}
}
for(int i = 0; i < this.floorBlocks.length;i++){
this.randomizeFloor(block,i);
for (int i = 0; i < this.floorBlocks.size(); i++) {
this.randomizeFloor(floorBlocks.get(i), i);
}
}