preparations for 1.1.1 release
This commit is contained in:
parent
54cbc2f8c1
commit
8ee6a3465e
@ -266,7 +266,7 @@ public class DiscoParty {
|
||||
}
|
||||
|
||||
void spawnGuest(World world, Location loc, EntityType type) {
|
||||
Entity newGuest = world.spawnEntity(loc, type);
|
||||
Entity newGuest = loc.getWorld().spawnEntity(loc, type);
|
||||
getGuestList().add(newGuest);
|
||||
if (doLightning) {
|
||||
world.strikeLightningEffect(loc);
|
||||
|
@ -177,6 +177,7 @@ public final class DiscoSheep extends JavaPlugin {
|
||||
+ "-p <ticks>: set the number of ticks between each disco beat\n"
|
||||
+ "-r <integer>: set radius of the area in which sheep can spawn\n"
|
||||
+ "-g <mob> <number>: set spawns for other mobs"
|
||||
+ "-l: enables lightning"
|
||||
+ "-fw: enables fireworks");
|
||||
return true;
|
||||
}
|
||||
|
@ -162,7 +162,7 @@ public class DiscoSheepCommandExecutor implements CommandExecutor {
|
||||
try {
|
||||
mainParty.setGuestNumber(guests[j], getNextIntArg(guests, j));
|
||||
} catch (IllegalArgumentException e) {
|
||||
sender.sendMessage("Invalid arguments: " + guests[j] + ", " + guests[j + 1]
|
||||
sender.sendMessage(ChatColor.RED + "Invalid arguments: " + ChatColor.WHITE + guests[j] + ", " + guests[j + 1]
|
||||
+ ".\nEither a name typo or a number that is not within limits.");
|
||||
}
|
||||
j += 2; // skip over two arguments, since they come in pairs of entity-number
|
||||
|
@ -1,7 +1,7 @@
|
||||
name: DiscoSheep
|
||||
main: ca.gibstick.discosheep.DiscoSheep
|
||||
authors: [Gibstick, RangerMauve]
|
||||
version: 1.1
|
||||
version: 1.1.1
|
||||
commands:
|
||||
ds:
|
||||
description: "Main DiscoSheep command"
|
||||
|
Loading…
Reference in New Issue
Block a user