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