Disabled main world creative block
This commit is contained in:
parent
e122ba0fbb
commit
dc57298c04
1 changed files with 28 additions and 27 deletions
|
@ -1,27 +1,28 @@
|
||||||
package buttondevteam.alipresents.components.hotfix;
|
package buttondevteam.alipresents.components.hotfix;
|
||||||
|
|
||||||
import org.bukkit.Bukkit;
|
import org.bukkit.Bukkit;
|
||||||
import org.bukkit.plugin.java.JavaPlugin;
|
import org.bukkit.plugin.java.JavaPlugin;
|
||||||
|
|
||||||
import com.earth2me.essentials.Essentials;
|
import com.earth2me.essentials.Essentials;
|
||||||
|
|
||||||
import buttondevteam.alipresents.architecture.Component;
|
import buttondevteam.alipresents.architecture.Component;
|
||||||
import buttondevteam.alipresents.components.hotfix.hotfixes.CowSpawnLoop;
|
import buttondevteam.alipresents.components.hotfix.hotfixes.CowSpawnLoop;
|
||||||
import buttondevteam.alipresents.components.hotfix.hotfixes.CreativeKillLoop;
|
import buttondevteam.alipresents.components.hotfix.hotfixes.ElytraFireworks;
|
||||||
import buttondevteam.alipresents.components.hotfix.hotfixes.GrassBreakListener;
|
import buttondevteam.alipresents.components.hotfix.hotfixes.GrassBreakListener;
|
||||||
import buttondevteam.alipresents.components.hotfix.hotfixes.MobKillListener;
|
import buttondevteam.alipresents.components.hotfix.hotfixes.MobKillListener;
|
||||||
import buttondevteam.alipresents.components.hotfix.hotfixes.NetherDisableListener;
|
import buttondevteam.alipresents.components.hotfix.hotfixes.NetherDisableListener;
|
||||||
|
|
||||||
public class HotfixComponent extends Component {
|
public class HotfixComponent extends Component {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void register(JavaPlugin plugin) {
|
public void register(JavaPlugin plugin) {
|
||||||
registerListener(plugin, new NetherDisableListener());
|
registerListener(plugin, new NetherDisableListener());
|
||||||
registerListener(plugin, new CowSpawnLoop(plugin));
|
registerListener(plugin, new CowSpawnLoop(plugin));
|
||||||
registerListener(plugin, new MobKillListener((Essentials) Bukkit.getPluginManager().getPlugin("Essentials")));
|
registerListener(plugin, new MobKillListener((Essentials) Bukkit.getPluginManager().getPlugin("Essentials")));
|
||||||
registerListener(plugin, new GrassBreakListener());
|
registerListener(plugin, new GrassBreakListener());
|
||||||
registerListener(plugin, new CreativeKillLoop(plugin));
|
//registerListener(plugin, new CreativeKillLoop(plugin));
|
||||||
|
registerListener(plugin, new ElytraFireworks(plugin));
|
||||||
}
|
|
||||||
|
}
|
||||||
}
|
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue