mirror of
				https://github.com/IntellectualSites/PlotSquared.git
				synced 2025-10-31 17:43:44 +01:00 
			
		
		
		
	Fix "cleanup" breaking plugin again
This commit is contained in:
		| @@ -537,12 +537,16 @@ public class MemorySection implements ConfigurationSection { | |||||||
|  |  | ||||||
|     @Override |     @Override | ||||||
|     public List<String> getStringList(String path) { |     public List<String> getStringList(String path) { | ||||||
|         List<?> list = getList(path); |         final List<?> list = getList(path); | ||||||
|  |  | ||||||
|         List<String> result = new ArrayList<>(); |         if (list == null) { | ||||||
|  |             return new ArrayList<>(0); | ||||||
|  |         } | ||||||
|  |  | ||||||
|         for (Object object : list) { |         final List<String> result = new ArrayList<>(); | ||||||
|             if ((object instanceof String) || isPrimitiveWrapper(object)) { |  | ||||||
|  |         for (final Object object : list) { | ||||||
|  |             if ((object instanceof String) || (isPrimitiveWrapper(object))) { | ||||||
|                 result.add(String.valueOf(object)); |                 result.add(String.valueOf(object)); | ||||||
|             } |             } | ||||||
|         } |         } | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Jesse Boyd
					Jesse Boyd