Update the fireball times to 20min
This commit is contained in:
parent
94607585a3
commit
29dc598c00
@ -1171,7 +1171,7 @@ public class WizardBattles extends SoloGame
|
||||
@EventHandler
|
||||
public void onSecond(UpdateEvent event)
|
||||
{
|
||||
if (event.getType() == UpdateType.TWOSEC && IsLive() && System.currentTimeMillis() > getGameLiveTime() + (0 * 60 * 1000))
|
||||
if (event.getType() == UpdateType.TWOSEC && IsLive() && System.currentTimeMillis() > getGameLiveTime() + (20 * 60 * 1000 * 1000))
|
||||
{
|
||||
for (Player player : GetPlayers(true))
|
||||
{
|
||||
@ -1248,8 +1248,8 @@ public class WizardBattles extends SoloGame
|
||||
GetScoreboard().Write(
|
||||
C.cWhite
|
||||
+ UtilTime.convertString(
|
||||
IsLive() ? Math.max(0, (getGameLiveTime() + (0 * 60 * 1000)) - System.currentTimeMillis())
|
||||
: (0 * 60 * 1000), 1, TimeUnit.MINUTES));
|
||||
IsLive() ? Math.max(0, (getGameLiveTime() + (20 * 60 * 1000 * 1000)) - System.currentTimeMillis())
|
||||
: (20 * 60 * 1000 * 1000), 1, TimeUnit.MINUTES));
|
||||
|
||||
GetScoreboard().Draw();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user