mirror of
https://github.com/essentials/Essentials.git
synced 2025-08-13 10:04:51 +02:00
Fix reloading of Protect
This commit is contained in:
@@ -22,7 +22,9 @@ public class EssentialsConnect
|
||||
}
|
||||
ess = ((BukkitPlugin)essPlugin).getEssentials();
|
||||
protect = (IProtect)essProtect;
|
||||
protect.setSettings(new ProtectHolder(ess));
|
||||
ProtectHolder settings = new ProtectHolder(ess);
|
||||
protect.setSettings(settings);
|
||||
ess.addReloadListener(settings);
|
||||
}
|
||||
|
||||
public IEssentials getEssentials()
|
||||
|
Reference in New Issue
Block a user