Remove over-dramatic warning about harmless state inconsistency in start timers. Fixes #317
Okay, "Fixes" would be lying, and that's terrible, but here's something to help you shrug it off: The timer module is a bit of a mess, and since there isn't actually anything "dangerous" about this, let's just calm our tits and focus on other stuff.
This commit is contained in:
@@ -74,11 +74,7 @@ public class AutoStartTimer extends CountdownTimer implements TimerCallback {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onTick() {
|
public void onTick() {
|
||||||
// TODO: Remove this if no one reports issues
|
|
||||||
if (arena.isRunning() || arena.getPlayersInLobby().isEmpty()) {
|
if (arena.isRunning() || arena.getPlayersInLobby().isEmpty()) {
|
||||||
Messenger.severe("AUTO START TIMER WAS NOT STOPPED!");
|
|
||||||
Messenger.severe(" Please make a ticket and inform me about this at:");
|
|
||||||
Messenger.severe(" http://dev.bukkit.org/bukkit-plugins/mobarena/tickets/");
|
|
||||||
stop();
|
stop();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -91,11 +91,7 @@ public class StartDelayTimer extends CountdownTimer implements TimerCallback {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onTick() {
|
public void onTick() {
|
||||||
// TODO: Remove this if no one reports issues
|
|
||||||
if (arena.isRunning() || arena.getPlayersInLobby().isEmpty()) {
|
if (arena.isRunning() || arena.getPlayersInLobby().isEmpty()) {
|
||||||
Messenger.severe("START DELAY TIMER WAS NOT STOPPED!");
|
|
||||||
Messenger.severe(" Please make a ticket and inform me about this at:");
|
|
||||||
Messenger.severe(" http://dev.bukkit.org/bukkit-plugins/mobarena/tickets/");
|
|
||||||
stop();
|
stop();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user