diff --git a/paper-api/src/main/java/org/bukkit/configuration/MemorySection.java b/paper-api/src/main/java/org/bukkit/configuration/MemorySection.java index ba41232fc7..8e16eb7ee5 100644 --- a/paper-api/src/main/java/org/bukkit/configuration/MemorySection.java +++ b/paper-api/src/main/java/org/bukkit/configuration/MemorySection.java @@ -452,7 +452,7 @@ public class MemorySection implements ConfigurationSection { List list = getList(path); if (list == null) { - return null; + return new ArrayList(0); } List result = new ArrayList(); @@ -474,7 +474,7 @@ public class MemorySection implements ConfigurationSection { List list = getList(path); if (list == null) { - return null; + return new ArrayList(0); } List result = new ArrayList(); @@ -515,7 +515,7 @@ public class MemorySection implements ConfigurationSection { List list = getList(path); if (list == null) { - return null; + return new ArrayList(0); } List result = new ArrayList(); @@ -543,7 +543,7 @@ public class MemorySection implements ConfigurationSection { List list = getList(path); if (list == null) { - return null; + return new ArrayList(0); } List result = new ArrayList(); @@ -584,7 +584,7 @@ public class MemorySection implements ConfigurationSection { List list = getList(path); if (list == null) { - return null; + return new ArrayList(0); } List result = new ArrayList(); @@ -625,7 +625,7 @@ public class MemorySection implements ConfigurationSection { List list = getList(path); if (list == null) { - return null; + return new ArrayList(0); } List result = new ArrayList(); @@ -666,7 +666,7 @@ public class MemorySection implements ConfigurationSection { List list = getList(path); if (list == null) { - return null; + return new ArrayList(0); } List result = new ArrayList(); @@ -707,7 +707,7 @@ public class MemorySection implements ConfigurationSection { List list = getList(path); if (list == null) { - return null; + return new ArrayList(0); } List result = new ArrayList(); @@ -749,7 +749,7 @@ public class MemorySection implements ConfigurationSection { List list = getList(path); if (list == null) { - return null; + return new ArrayList(0); } List result = new ArrayList();