fix for potential server crash

This commit is contained in:
Brettflan 2011-04-13 09:41:17 -05:00
parent 40c3764049
commit 5572801827
2 changed files with 3 additions and 2 deletions

View File

@ -35,7 +35,8 @@ public class BorderCheckTask implements Runnable
} }
catch (ConcurrentModificationException ex) catch (ConcurrentModificationException ex)
{ {
continue; // trying to 'continue' here instead can lead to server crash, so...
return;
} }
if (player == null || !player.isOnline()) continue; if (player == null || !player.isOnline()) continue;

View File

@ -1,7 +1,7 @@
name: WorldBorder name: WorldBorder
author: Brettflan author: Brettflan
description: Limit the size of your worlds with a border, round or square. description: Limit the size of your worlds with a border, round or square.
version: 1.1.1 version: 1.1.2
main: com.wimbli.WorldBorder.WorldBorder main: com.wimbli.WorldBorder.WorldBorder
commands: commands:
wborder: wborder: