mirror of
https://github.com/EssentialsX/Essentials.git
synced 2025-03-12 14:49:46 +01:00
fix "Fix moo"
This commit is contained in:
parent
7216fddfbe
commit
2ba1eb0cf9
@ -502,10 +502,8 @@ public class Commandessentials extends EssentialsCommand {
|
||||
ess.getLogger().info(s);
|
||||
}
|
||||
for (final Player player : ess.getOnlinePlayers()) {
|
||||
ess.scheduleEntityDelayedTask(player, () -> {
|
||||
player.sendMessage(PLAYER_MOO);
|
||||
player.playSound(player.getLocation(), MOO_SOUND, 1, 1.0f);
|
||||
});
|
||||
}
|
||||
} else {
|
||||
if (sender.isPlayer()) {
|
||||
|
Loading…
Reference in New Issue
Block a user