forked from Limework/skript-db
		
	fix expressions in queries, thanks to TPGamesNL
This commit is contained in:
		
							parent
							
								
									310536c085
								
							
						
					
					
						commit
						b815f50cf2
					
				@ -176,7 +176,11 @@ public class EffExecuteStatement extends Effect {
 | 
			
		||||
            if (o instanceof String) {
 | 
			
		||||
                sb.append(o);
 | 
			
		||||
            } else {
 | 
			
		||||
                Expression<?> expr = SkriptUtil.getExpressionFromInfo(o);
 | 
			
		||||
                Expression<?> expr;
 | 
			
		||||
                if (o instanceof Expression)
 | 
			
		||||
                    expr = (Expression<?>) o;
 | 
			
		||||
                else
 | 
			
		||||
                    expr = SkriptUtil.getExpressionFromInfo(o);
 | 
			
		||||
 | 
			
		||||
                String before = getString(objects, i - 1);
 | 
			
		||||
                String after = getString(objects, i + 1);
 | 
			
		||||
 | 
			
		||||
@ -2,5 +2,5 @@ name: skript-db
 | 
			
		||||
version: 1.3.2
 | 
			
		||||
main: com.btk5h.skriptdb.SkriptDB
 | 
			
		||||
depend: [Skript]
 | 
			
		||||
authors: [btk5h, FranKusmiruk, Govindas]
 | 
			
		||||
authors: [btk5h, FranKusmiruk, Govindas, TPGamesNL]
 | 
			
		||||
api-version: 1.13
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user