From dc57298c04fb319efa6c28f7422aec84f6d33b9f Mon Sep 17 00:00:00 2001 From: alisolarflare Date: Mon, 26 Dec 2016 22:40:35 -0500 Subject: [PATCH] Disabled main world creative block --- .../components/hotfix/HotfixComponent.java | 55 ++++++++++--------- 1 file changed, 28 insertions(+), 27 deletions(-) diff --git a/src/buttondevteam/alipresents/components/hotfix/HotfixComponent.java b/src/buttondevteam/alipresents/components/hotfix/HotfixComponent.java index abd2393..c0da11c 100644 --- a/src/buttondevteam/alipresents/components/hotfix/HotfixComponent.java +++ b/src/buttondevteam/alipresents/components/hotfix/HotfixComponent.java @@ -1,27 +1,28 @@ -package buttondevteam.alipresents.components.hotfix; - -import org.bukkit.Bukkit; -import org.bukkit.plugin.java.JavaPlugin; - -import com.earth2me.essentials.Essentials; - -import buttondevteam.alipresents.architecture.Component; -import buttondevteam.alipresents.components.hotfix.hotfixes.CowSpawnLoop; -import buttondevteam.alipresents.components.hotfix.hotfixes.CreativeKillLoop; -import buttondevteam.alipresents.components.hotfix.hotfixes.GrassBreakListener; -import buttondevteam.alipresents.components.hotfix.hotfixes.MobKillListener; -import buttondevteam.alipresents.components.hotfix.hotfixes.NetherDisableListener; - -public class HotfixComponent extends Component { - - @Override - public void register(JavaPlugin plugin) { - registerListener(plugin, new NetherDisableListener()); - registerListener(plugin, new CowSpawnLoop(plugin)); - registerListener(plugin, new MobKillListener((Essentials) Bukkit.getPluginManager().getPlugin("Essentials"))); - registerListener(plugin, new GrassBreakListener()); - registerListener(plugin, new CreativeKillLoop(plugin)); - - } - -} +package buttondevteam.alipresents.components.hotfix; + +import org.bukkit.Bukkit; +import org.bukkit.plugin.java.JavaPlugin; + +import com.earth2me.essentials.Essentials; + +import buttondevteam.alipresents.architecture.Component; +import buttondevteam.alipresents.components.hotfix.hotfixes.CowSpawnLoop; +import buttondevteam.alipresents.components.hotfix.hotfixes.ElytraFireworks; +import buttondevteam.alipresents.components.hotfix.hotfixes.GrassBreakListener; +import buttondevteam.alipresents.components.hotfix.hotfixes.MobKillListener; +import buttondevteam.alipresents.components.hotfix.hotfixes.NetherDisableListener; + +public class HotfixComponent extends Component { + + @Override + public void register(JavaPlugin plugin) { + registerListener(plugin, new NetherDisableListener()); + registerListener(plugin, new CowSpawnLoop(plugin)); + registerListener(plugin, new MobKillListener((Essentials) Bukkit.getPluginManager().getPlugin("Essentials"))); + registerListener(plugin, new GrassBreakListener()); + //registerListener(plugin, new CreativeKillLoop(plugin)); + registerListener(plugin, new ElytraFireworks(plugin)); + + } + +}