mirror of
https://gitlab.com/2009scape/2009scape.git
synced 2025-12-15 11:00:17 -07:00
another fixup
This commit is contained in:
parent
79aec97f54
commit
8046392c5b
1 changed files with 2 additions and 2 deletions
|
|
@ -1,7 +1,7 @@
|
|||
package org.crandor.gui.tab;
|
||||
|
||||
|
||||
import org.crandor.Main;
|
||||
import org.crandor.Server;
|
||||
import org.crandor.game.node.item.GroundItemManager;
|
||||
import org.crandor.game.system.SystemManager;
|
||||
import org.crandor.game.system.SystemState;
|
||||
|
|
@ -382,7 +382,7 @@ public class StatisticsTab extends ConsoleTab {
|
|||
*/
|
||||
public void updateThreadText() {
|
||||
StringBuilder sb = new StringBuilder();
|
||||
long runtime = System.currentTimeMillis() - Main.startTime;
|
||||
long runtime = System.currentTimeMillis() - Server.startTime;
|
||||
double percentage = workingTime / (runtime * 0.01);
|
||||
long hours = runtime / 3600000;
|
||||
runtime -= hours * 3600000;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue