Handle downlevel dynmap

This commit is contained in:
Mike Primm 2012-07-29 11:27:48 -05:00
parent 617807fe37
commit 07f2f381af

View File

@ -712,9 +712,9 @@ public class DynmapFactionsPlugin extends JavaPlugin {
playersets = false; playersets = false;
info("Dynmap does not have player-info-protected enabled - visibility-by-faction will have no effect"); info("Dynmap does not have player-info-protected enabled - visibility-by-faction will have no effect");
} }
} catch (Exception x) { } catch (NoSuchMethodError x) {
playersets = false; playersets = false;
info("Dynmap does not support function needed for 'visibilitybyfaction' - need to upgrade"); info("Dynmap does not support function needed for 'visibility-by-faction' - need to upgrade to 0.60 or later");
} }
} }
updatePlayerSets(); updatePlayerSets();