Pls i need help with setAutoSave

Discussion in 'Spigot Plugin Development' started by LucGamesHD, Dec 27, 2016.

  1. If I do:
    PHP:

        @Override
        public void onEnable() {
         
            for(World w : getServer().getWorlds()){
                w.setAutoSave(false);
            }
            super.onEnable();
        }
     
        @Override
        public void onDisable() {
            for(World w : getServer().getWorlds()){
                Bukkit.unloadWorld(w, true);
            }
            super.onDisable();
        }
     
    auto save isnt on false! And I have a second Plugin Multivers Core in my Plugin Folder. (Sry my english)
     
    • Like Like x 1
  2. i think multiverse is overriding this changes on a world.