Fix for crash on plugin startup if Worldguard integration is enabled ("worldGuardChecking") but Worldguard plugin isn't loaded on server

Also updated SpoutPlugin lib
This commit is contained in:
Brettflan 2012-10-09 17:37:01 -05:00
parent 619e52a5d4
commit 5f33e51fae
3 changed files with 1 additions and 2 deletions

Binary file not shown.

BIN
lib/SpoutPlugin.jar Normal file

Binary file not shown.

View File

@ -8,7 +8,6 @@ import java.util.Map;
import com.sk89q.worldguard.bukkit.WorldGuardPlugin;
import com.sk89q.worldguard.protection.managers.RegionManager;
import com.sk89q.worldguard.protection.ApplicableRegionSet;
import com.sk89q.worldguard.protection.UnsupportedIntersectionException;
import com.sk89q.worldguard.protection.regions.ProtectedCuboidRegion;
import com.sk89q.worldguard.protection.regions.ProtectedRegion;
import static com.sk89q.worldguard.bukkit.BukkitUtil.*;
@ -119,7 +118,7 @@ public class Worldguard
foundregions = true;
}
}
catch (UnsupportedIntersectionException e)
catch (Exception e)
{
e.printStackTrace();
}