mirror of
https://gitlab.com/2009scape/2009scape.git
synced 2025-12-21 09:02:07 -07:00
[events] fixup remaining tick messages
This commit is contained in:
parent
ee52cda27e
commit
e4ea3bf758
1 changed files with 3 additions and 3 deletions
|
|
@ -37,11 +37,11 @@ public class GlobalEventManager implements CallBack {
|
|||
if (ticksRemaining > 0) {
|
||||
event.tick();
|
||||
--ticksRemaining;
|
||||
if (ticksRemaining % 3000 == 0)
|
||||
message("You have " + Math.round(ticksRemaining / 100) + " minutes before the " + event.getName() + " event ends.");
|
||||
|
||||
if (ticksRemaining <= 0)
|
||||
message("The " + event.getName() + " event has now ended.");
|
||||
else if (ticksRemaining % 3000 == 0)
|
||||
message("You have " + Math.round(ticksRemaining / 100) + " minutes before the " + event.getName() + " event ends.");
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue