Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
boolean disableNether = config.getBoolean("disable_nether", false);
if (disableNether) {
plugin.getServer().getPluginManager()
.registerEvents(new NetherPortalListener(), plugin);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment