|  |  |  | @ -10,7 +10,6 @@ package engine.ConfigParsing;@@ -10,7 +10,6 @@ package engine.ConfigParsing; | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | import engine.ConfigParsing.EffectEntry.EffectEntry; | 
			
		
	
		
			
				
					|  |  |  |  | import engine.gameManager.ConfigManager; | 
			
		
	
		
			
				
					|  |  |  |  | import org.pmw.tinylog.Logger; | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | import java.io.IOException; | 
			
		
	
		
			
				
					|  |  |  |  | import java.nio.file.Files; | 
			
		
	
	
		
			
				
					|  |  |  | @ -54,15 +53,15 @@ public class EffectsParser {@@ -54,15 +53,15 @@ public class EffectsParser { | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |         // Parse effect entry description
 | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |         String firstLine = ""; | 
			
		
	
		
			
				
					|  |  |  |  |         String firstLine; | 
			
		
	
		
			
				
					|  |  |  |  |         ArrayList<String> effectDescription = new ArrayList<>(); | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |         try { | 
			
		
	
		
			
				
					|  |  |  |  |         if (effectData.indexOf('\n') > 0) | 
			
		
	
		
			
				
					|  |  |  |  |             firstLine = effectData.substring(0, effectData.indexOf('\n')); | 
			
		
	
		
			
				
					|  |  |  |  |         } catch (Exception e) { | 
			
		
	
		
			
				
					|  |  |  |  |             Logger.error(e); | 
			
		
	
		
			
				
					|  |  |  |  |         } | 
			
		
	
		
			
				
					|  |  |  |  |         else | 
			
		
	
		
			
				
					|  |  |  |  |             firstLine = effectData; | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |         ArrayList<String> effectDescription = new ArrayList<>(); | 
			
		
	
		
			
				
					|  |  |  |  |         // Regex ignores spaces within quotes
 | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |         Matcher matcher = STRSPLIT_REGEX.matcher(firstLine); | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
	
		
			
				
					|  |  |  | 
 |