From 2a802cfe81a0d4cec4027b33252b8ecde853e2d1 Mon Sep 17 00:00:00 2001 From: RangerMauve Date: Sun, 30 Jun 2013 18:25:40 -0400 Subject: [PATCH] Fixed some structuring --- src/gibstick/bukkit/discosheep/DiscoSheep.java | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/src/gibstick/bukkit/discosheep/DiscoSheep.java b/src/gibstick/bukkit/discosheep/DiscoSheep.java index 67cba40..4096207 100644 --- a/src/gibstick/bukkit/discosheep/DiscoSheep.java +++ b/src/gibstick/bukkit/discosheep/DiscoSheep.java @@ -4,6 +4,7 @@ import java.util.ArrayList; import java.util.List; import org.bukkit.DyeColor; import org.bukkit.Location; +import org.bukkit.Sound; import org.bukkit.World; import org.bukkit.entity.EntityType; import org.bukkit.entity.Player; @@ -45,7 +46,6 @@ public final class DiscoSheep extends JavaPlugin { @Override public void onDisable() { - getServer().getPluginManager(); } ArrayList getSheep() { @@ -99,11 +99,9 @@ public final class DiscoSheep extends JavaPlugin { } void playSounds() { - // TODO: generate list of players to send sounds to - } - - void playSounds(Player player) { - //TODO: Add sound playing here + for(Player player: getPlayers()){ + //player.playSound(null, Sound.BURP, frequency, frequency); + } } void update() {