fixed bug in moo
This commit is contained in:
parent
da9e7892f0
commit
987bf266ee
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user