disco floor is back; fixed name

This commit is contained in:
Charlie
2014-07-31 19:49:47 -04:00
parent 86028d1d9d
commit 4c05c5d2d3
2 changed files with 79 additions and 6 deletions

View File

@@ -275,8 +275,8 @@ public class DiscoParty {
}
}
//loc = player.getLocation();
//this.spawnFloor(world, new Location(world, loc.getBlockX(), loc.getBlockY() - 1, loc.getBlockZ()));
loc = player.getLocation();
this.spawnFloor(world, new Location(world, loc.getBlockX(), loc.getBlockY() - 1, loc.getBlockZ()));
}
void spawnSheep(World world, Location loc) {
@@ -290,7 +290,7 @@ public class DiscoParty {
world.strikeLightningEffect(loc);
}
newSheep.setCustomName("jeb_");
newSheep.setCustomNameVisible(true);
newSheep.setCustomNameVisible(false);
newSheep.setRemoveWhenFarAway(false);
}
@@ -434,9 +434,9 @@ public class DiscoParty {
}
}
/* for (Block block : this.floorBlocks) {
this.randomizeFloor(block);
}*/
for (Block block : this.floorBlocks) {
this.randomizeFloor(block);
}
}
private float getPentatonicNote() {