mirror of
https://github.com/JamesPeters98/ChestsPlusPlus.git
synced 2025-01-10 18:37:42 +01:00
Fix for NPE on Paper
This commit is contained in:
parent
86dbe63fa3
commit
729bbad359
@ -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; }
|
||||||
|
Loading…
Reference in New Issue
Block a user