mirror of
https://github.com/Multiverse/Multiverse-Core.git
synced 2024-11-02 16:59:56 +01:00
1.5 Compatibility
This commit is contained in:
parent
dad4547c21
commit
2ff10d0882
@ -86,7 +86,6 @@ public class MultiverseCore extends JavaPlugin {
|
||||
loadConfigs();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onEnable() {
|
||||
// Output a little snippet to show it's enabled.
|
||||
this.log(Level.INFO, "- Version " + this.getDescription().getVersion() + " Enabled - By " + getAuthors());
|
||||
@ -317,7 +316,7 @@ public class MultiverseCore extends JavaPlugin {
|
||||
|
||||
ChunkGenerator customGenerator = getChunkGenerator(generatorName, generatorID, name);
|
||||
|
||||
if (customGenerator == null && generator != null && !generator.isEmpty()) {
|
||||
if (customGenerator == null && generator != null && (generator.length() > 0)) {
|
||||
if (!pluginExists(generatorName)) {
|
||||
log(Level.WARNING, "Could not find plugin: " + generatorName);
|
||||
} else {
|
||||
@ -440,7 +439,6 @@ public class MultiverseCore extends JavaPlugin {
|
||||
/**
|
||||
* What happens when the plugin gets disabled...
|
||||
*/
|
||||
@Override
|
||||
public void onDisable() {
|
||||
debugLog.close();
|
||||
MultiverseCore.Permissions = null;
|
||||
|
Loading…
Reference in New Issue
Block a user