mirror of
https://github.com/MilkBowl/Vault.git
synced 2024-11-27 13:07:23 +01:00
nothing to see here.
This commit is contained in:
parent
abb4c9c17b
commit
50bf886a4b
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user