13
0

Hotfix Checktype instanciation

Dieser Commit ist enthalten in:
Lixfel 2020-01-20 06:54:51 +01:00
Ursprung 4457f808ec
Commit 44a4d8a699

Datei anzeigen

@ -5,14 +5,11 @@ import de.steamwar.sql.Schematic;
import de.steamwar.sql.SchematicType; import de.steamwar.sql.SchematicType;
import org.bukkit.configuration.ConfigurationSection; import org.bukkit.configuration.ConfigurationSection;
import java.util.EnumMap; import java.util.*;
import java.util.LinkedList;
import java.util.List;
import java.util.Map;
public class CheckSchemType implements ICheckSchemType { public class CheckSchemType implements ICheckSchemType {
private static final Map<SchematicType, CheckSchemType> types = new EnumMap<>(SchematicType.class); private static final Map<SchematicType, CheckSchemType> types = new HashMap<>();
private final String name; private final String name;