diff --git a/src/main/java/de/cuuky/varo/game/start/ProtectionTime.java b/src/main/java/de/cuuky/varo/game/start/ProtectionTime.java index 219ae02e..2b308f0c 100644 --- a/src/main/java/de/cuuky/varo/game/start/ProtectionTime.java +++ b/src/main/java/de/cuuky/varo/game/start/ProtectionTime.java @@ -31,7 +31,7 @@ public void run() { return; } - if (this.protectionTimer == 0) { + if (ProtectionTime.this.protectionTimer == 0) { Main.getLanguageManager().broadcastMessage(ConfigMessages.PROTECTION_TIME_OVER); Main.getVaroGame().setProtection(null); scheduler.cancel(); @@ -64,16 +64,24 @@ public String getCountdownMinutes() { /** * - * @return the count down in seconds + * @return the countdown in seconds */ public String getCountdownSeconds() { return getCountdownSec(this.protectionTimer); } + /** + * + * @return the remaining protection time + */ public int getRemainingTime() { return this.protectionTimer; } + /** + * + * @return the protection timer + */ public int getProtectionTimer() { return protectionTimer; }