mirror of
https://github.com/songoda/FabledSkyBlock.git
synced 2024-11-23 18:55:30 +01:00
Check for empty not null. It's never null.
This commit is contained in:
parent
7cd8920159
commit
5080428db2
@ -38,7 +38,7 @@ public class StackableManager {
|
||||
FileConfiguration configLoad = config.getFileConfiguration();
|
||||
|
||||
List<String> stackableList = configLoad.getStringList("Stackables");
|
||||
if (stackableList == null) return;
|
||||
if (stackableList.isEmpty()) return;
|
||||
|
||||
for (String stackableStr : stackableList) {
|
||||
try {
|
||||
|
Loading…
Reference in New Issue
Block a user