mirror of
https://github.com/2006-Scape/2006Scape.git
synced 2026-07-05 00:31:57 +00:00
This update resolves dginovker/2006rebotted#166
Added proper object size calculations. Removed old objectDistance code. Added current task support, allows easy creation of player tasks that cannot duplicate.
This commit is contained in:
@@ -18,7 +18,7 @@ public class PlayersOnlineWebsite {
|
||||
|
||||
private static int count = 50;
|
||||
public static void addUpdatePlayersOnlineTask() {
|
||||
if (!password.equals("")) {
|
||||
if (password != null && !password.equals("")) {
|
||||
if (count == 0) {
|
||||
try {
|
||||
setWebsitePlayersOnline(PlayerHandler.getPlayerCount());
|
||||
|
||||
Reference in New Issue
Block a user