mirror of
https://github.com/PryPurity/WorldBorder.git
synced 2024-11-14 10:15:36 +01:00
minor tweak, release 1.2.3
This commit is contained in:
parent
40468fab36
commit
c45c48be5c
@ -20,14 +20,14 @@ public class BorderCheckTask implements Runnable
|
||||
public void run()
|
||||
{
|
||||
// long startTime = Config.Now(); // for monitoring plugin efficiency
|
||||
Player[] players = server.getOnlinePlayers();
|
||||
|
||||
if (server == null)
|
||||
{
|
||||
// Config.timeUsed += Config.Now() - startTime; // for monitoring plugin efficiency
|
||||
return;
|
||||
}
|
||||
|
||||
Player[] players = server.getOnlinePlayers();
|
||||
|
||||
for (int i = 0; i < players.length; i++){
|
||||
if (players[i] == null || !players[i].isOnline()) continue;
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
name: WorldBorder
|
||||
author: Brettflan
|
||||
description: Efficient, feature-rich plugin for limiting the size of your worlds.
|
||||
version: 1.2.2
|
||||
version: 1.2.3
|
||||
main: com.wimbli.WorldBorder.WorldBorder
|
||||
commands:
|
||||
wborder:
|
||||
|
Loading…
Reference in New Issue
Block a user