Merge branch 'master' into mc/1.12

This commit is contained in:
Blue (Lukas Rieger) 2020-01-18 01:31:04 +01:00
commit bbeeb4b1c4

View File

@ -39,6 +39,11 @@ public BukkitPlugin() {
public void onEnable() { public void onEnable() {
new MetricsLite(this); new MetricsLite(this);
//save world so the level.dat is present on new worlds
for (World world : getServer().getWorlds()) {
world.save();
}
getServer().getPluginManager().registerEvents(eventForwarder, this); getServer().getPluginManager().registerEvents(eventForwarder, this);
getCommand("bluemap").setExecutor(commands); getCommand("bluemap").setExecutor(commands);