use super instead of manually registering
parent
a402cd0402
commit
24598de7aa
|
@ -194,10 +194,10 @@ class SomeExpansion extends PlaceholderExpansion {
|
|||
}
|
||||
|
||||
/*
|
||||
* Since we override the register method, we need to manually
|
||||
* Since we override the register method, we need to call the super method to actually
|
||||
* register this hook
|
||||
*/
|
||||
return PlaceholderAPI.registerPlaceholderHook(getIdentifier(), this);
|
||||
return super.register();
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue