Added PersistentDataKeyType#CONFIG

This commit is contained in:
Auxilor
2022-10-02 02:17:42 +01:00
parent 13b3e1e440
commit 3e325697e7
5 changed files with 23 additions and 6 deletions

View File

@@ -1,5 +1,6 @@
package com.willfp.eco.core.data.keys;
import com.willfp.eco.core.config.interfaces.Config;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
@@ -43,6 +44,11 @@ public final class PersistentDataKeyType<T> {
*/
public static final PersistentDataKeyType<List<String>> STRING_LIST = new PersistentDataKeyType<>(null, "STRING_LIST");
/**
* Config.
*/
public static final PersistentDataKeyType<Config> CONFIG = new PersistentDataKeyType<>(Config.class, "CONFIG");
/**
* The class of the type.
*/