diff options
author | snowleo <schneeleo@gmail.com> | 2013-03-31 11:24:18 +0300 |
---|---|---|
committer | snowleo <schneeleo@gmail.com> | 2013-03-31 11:24:18 +0300 |
commit | 3a4f7ae42c928f59d3c9d15992ea9720d50c4bb9 (patch) | |
tree | 1c17e6894c6d97830696ede32832fc86ef96d621 /EssentialsAntiBuild | |
parent | 726d659afca7f8950492370655a3dede5386dfc8 (diff) | |
download | Essentials-3a4f7ae42c928f59d3c9d15992ea9720d50c4bb9.tar Essentials-3a4f7ae42c928f59d3c9d15992ea9720d50c4bb9.tar.gz Essentials-3a4f7ae42c928f59d3c9d15992ea9720d50c4bb9.tar.lz Essentials-3a4f7ae42c928f59d3c9d15992ea9720d50c4bb9.tar.xz Essentials-3a4f7ae42c928f59d3c9d15992ea9720d50c4bb9.zip |
Fix reloading of AntiBuild
Diffstat (limited to 'EssentialsAntiBuild')
-rw-r--r-- | EssentialsAntiBuild/src/net/ess3/antibuild/EssentialsConnect.java | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/EssentialsAntiBuild/src/net/ess3/antibuild/EssentialsConnect.java b/EssentialsAntiBuild/src/net/ess3/antibuild/EssentialsConnect.java index a58f18dcc..3a58acdb3 100644 --- a/EssentialsAntiBuild/src/net/ess3/antibuild/EssentialsConnect.java +++ b/EssentialsAntiBuild/src/net/ess3/antibuild/EssentialsConnect.java @@ -24,7 +24,9 @@ public class EssentialsConnect } ess = ((BukkitPlugin)essPlugin).getEssentials(); antib = (IAntiBuild)essProtect; - antib.setSettings(new AntiBuildHolder(ess)); + AntiBuildHolder settings = new AntiBuildHolder(ess); + antib.setSettings(settings); + ess.addReloadListener(settings); } public void onDisable() @@ -50,4 +52,4 @@ public class EssentialsConnect } } } -}
\ No newline at end of file +} |