Fix for NPE on Paper

This commit is contained in:
jameslfc19 2020-07-27 22:41:08 +01:00
parent 86dbe63fa3
commit 729bbad359

View File

@ -81,7 +81,7 @@ public class Config {
} }
public static List<StorageType<? extends AbstractStorage>> getStorageTypes(){ public static List<StorageType<? extends AbstractStorage>> getStorageTypes(){
return storageTypes; return storageTypes != null ? storageTypes : new ArrayList<>();
} }
public static ConfigStorage getStore(){ return store; } public static ConfigStorage getStore(){ return store; }