randomizeFloor is now 100% faster

This commit is contained in:
Charlie 2014-07-31 21:03:02 -04:00
parent f948a6917b
commit ad787729ba

View File

@ -339,7 +339,7 @@ public class DiscoParty {
void randomizeFloor(Block block, int index) { void randomizeFloor(Block block, int index) {
int to_color = (index + state) % discoColours.length; int to_color = (index + state) % discoColours.length;
block.setType(Material.WOOL);
block.setData(discoColours[to_color].getData()); block.setData(discoColours[to_color].getData());
} }