|
|
|
@ -40,8 +40,8 @@ class BloodMoon : JavaPlugin(), Listener {
|
|
|
|
|
command("bloodmoon") { sender, args ->
|
|
|
|
|
|
|
|
|
|
if (args.isEmpty())
|
|
|
|
|
if (BMData.running) sender.msg("&c&lThe Blood Moon is Active!\n&7${BMData.ticksLeft() / 20} seconds left.")
|
|
|
|
|
else sender.msg("&a&lThe Blood Moon is not currently active.")
|
|
|
|
|
return@command (if (BMData.running) sender.msg("&c&lThe Blood Moon is Active!\n&7${BMData.ticksLeft() / 20} seconds left.")
|
|
|
|
|
else sender.msg("&a&lThe Blood Moon is not currently active."))
|
|
|
|
|
|
|
|
|
|
if (!sender.hasPermission("bloodmoon.admin") && !sender.isOp) {
|
|
|
|
|
sender.msg("&cNo permission!")
|
|
|
|
|