nothing to see here.

This commit is contained in:
Sleaker 2012-02-27 08:42:16 -08:00
parent abb4c9c17b
commit 50bf886a4b

View File

@ -554,7 +554,7 @@ public class Vault extends JavaPlugin {
@EventHandler(priority = EventPriority.MONITOR) @EventHandler(priority = EventPriority.MONITOR)
public void onPluginEnable(PluginEnableEvent event) { public void onPluginEnable(PluginEnableEvent event) {
if (event.getPlugin().getDescription().getName().equals("Register") && packageExists(new String[] {"com.nijikokun.register.payment.Methods"})) { if (event.getPlugin().getDescription().getName().equals("Register") && packageExists("com.nijikokun.register.payment.Methods")) {
if (!Methods.hasMethod()) { if (!Methods.hasMethod()) {
try { try {
Method m = Methods.class.getMethod("addMethod", Methods.class); Method m = Methods.class.getMethod("addMethod", Methods.class);