randomizeFloor is now 100% faster
This commit is contained in:
parent
f948a6917b
commit
ad787729ba
@ -339,7 +339,7 @@ public class DiscoParty {
|
||||
|
||||
void randomizeFloor(Block block, int index) {
|
||||
int to_color = (index + state) % discoColours.length;
|
||||
block.setType(Material.WOOL);
|
||||
|
||||
block.setData(discoColours[to_color].getData());
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user