fixed bug in moo

This commit is contained in:
Cheese 2015-04-01 18:02:56 +11:00
parent da9e7892f0
commit 987bf266ee

View File

@ -135,9 +135,9 @@ public class AprilFoolsManager extends MiniPlugin
//Disguise
for (Player player : UtilServer.getPlayers())
{
//Moo
if (_disguiseManager.getDisguise(player) != null)
{
//Moo
if (Math.random() > 0.8)
{
if (_disguiseManager.getDisguise(player) instanceof DisguiseCow)
@ -145,6 +145,8 @@ public class AprilFoolsManager extends MiniPlugin
player.getWorld().playSound(player.getLocation(), Sound.COW_IDLE, (float)Math.random() + 0.5f, (float)Math.random() + 0.5f);
}
}
continue;
}
//Disguise