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()
|
public void run()
|
||||||
{
|
{
|
||||||
// long startTime = Config.Now(); // for monitoring plugin efficiency
|
// long startTime = Config.Now(); // for monitoring plugin efficiency
|
||||||
Player[] players = server.getOnlinePlayers();
|
|
||||||
|
|
||||||
if (server == null)
|
if (server == null)
|
||||||
{
|
{
|
||||||
// Config.timeUsed += Config.Now() - startTime; // for monitoring plugin efficiency
|
// Config.timeUsed += Config.Now() - startTime; // for monitoring plugin efficiency
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Player[] players = server.getOnlinePlayers();
|
||||||
|
|
||||||
for (int i = 0; i < players.length; i++){
|
for (int i = 0; i < players.length; i++){
|
||||||
if (players[i] == null || !players[i].isOnline()) continue;
|
if (players[i] == null || !players[i].isOnline()) continue;
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
name: WorldBorder
|
name: WorldBorder
|
||||||
author: Brettflan
|
author: Brettflan
|
||||||
description: Efficient, feature-rich plugin for limiting the size of your worlds.
|
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
|
main: com.wimbli.WorldBorder.WorldBorder
|
||||||
commands:
|
commands:
|
||||||
wborder:
|
wborder:
|
||||||
|
|
Loading…
Reference in New Issue