From f948a6917b0b85e2fac799788c745c9d67d37737 Mon Sep 17 00:00:00 2001 From: Charlie Date: Thu, 31 Jul 2014 20:47:09 -0400 Subject: [PATCH] fixed typos --- src/ca/gibstick/discosheep/DiscoParty.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ca/gibstick/discosheep/DiscoParty.java b/src/ca/gibstick/discosheep/DiscoParty.java index 9799f22..fa83ea7 100644 --- a/src/ca/gibstick/discosheep/DiscoParty.java +++ b/src/ca/gibstick/discosheep/DiscoParty.java @@ -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); } }