File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
src/main/java/org/mvplugins/multiverse/core/world/entity Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 11package org .mvplugins .multiverse .core .world .entity ;
22
33import com .dumptruckman .minecraft .util .Logging ;
4- import org .bukkit .World ;
54import org .bukkit .configuration .ConfigurationSection ;
65import org .bukkit .configuration .MemoryConfiguration ;
76import org .bukkit .entity .Entity ;
109import org .mvplugins .multiverse .core .utils .StringFormatter ;
1110import org .mvplugins .multiverse .core .world .MultiverseWorld ;
1211
13- import java .util .HashMap ;
12+ import java .util .LinkedHashMap ;
1413import java .util .Map ;
1514
1615public final class EntitySpawnConfig {
@@ -53,7 +52,7 @@ public ConfigurationSection toSection() {
5352
5453 @ ApiStatus .Internal
5554 public static EntitySpawnConfig fromSection (ConfigurationSection section ) {
56- Map <SpawnCategory , SpawnCategoryConfig > spawnCategoriesConfig = new HashMap <>();
55+ Map <SpawnCategory , SpawnCategoryConfig > spawnCategoriesConfig = new LinkedHashMap <>();
5756 section .getValues (false ).forEach ((key , value ) -> {
5857 if (!(value instanceof ConfigurationSection sectionPart )) {
5958 Logging .warning ("Invalid spawn category config for " + key + ": " + value );
You can’t perform that action at this time.
0 commit comments