mirror of
https://github.com/essentials/Essentials.git
synced 2025-01-19 14:17:03 +01:00
IConfExternal is abstract class for other jars, because the interface is not accessible.
git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1417 e251c2fe-e539-e718-e476-b85c1f46cddb
This commit is contained in:
parent
771f0aad0c
commit
6d03a81a04
@ -0,0 +1,8 @@
|
||||
package com.earth2me.essentials;
|
||||
|
||||
|
||||
public abstract class IConfExternal implements IConf
|
||||
{
|
||||
|
||||
public abstract void reloadConfig();
|
||||
}
|
@ -2,6 +2,7 @@ package com.earth2me.essentials.protect;
|
||||
|
||||
import com.earth2me.essentials.Essentials;
|
||||
import com.earth2me.essentials.IConf;
|
||||
import com.earth2me.essentials.IConfExternal;
|
||||
import com.earth2me.essentials.User;
|
||||
import com.earth2me.essentials.Util;
|
||||
import java.util.ArrayList;
|
||||
@ -77,7 +78,7 @@ public class EssentialsProtect extends JavaPlugin
|
||||
pm.registerEvent(Type.PLUGIN_ENABLE, serverListener, Priority.Highest, this);
|
||||
|
||||
reloadConfig();
|
||||
Essentials.getStatic().addReloadListener(new IConf() {
|
||||
Essentials.getStatic().addReloadListener(new IConfExternal() {
|
||||
|
||||
public void reloadConfig()
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user