Package net.canarymod.hook.system

Examples of net.canarymod.hook.system.PluginDisableHook


            plugin.disable(); // Now call disable
        }
        catch (Throwable t) {
            Canary.logStacktrace("Error while disabling " + plugin.getName(), t);
        }
        Canary.hooks().callHook(new PluginDisableHook(plugin));
        Canary.logInfo("Disabled " + plugin.getName() + ", Version " + plugin.getVersion());
        return true;
    }
View Full Code Here

TOP

Related Classes of net.canarymod.hook.system.PluginDisableHook

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.