tiny performance optimization to last commit
This commit is contained in:
		@@ -23,7 +23,7 @@ public class FactionsExploitListener implements Listener
 | 
			
		||||
		Block block = event.getToBlock();
 | 
			
		||||
		int source = event.getBlock().getTypeId();
 | 
			
		||||
		int target = block.getTypeId();
 | 
			
		||||
		if ((source == 0 || source == 10 || source == 11) && (target == 55 || target == 132))
 | 
			
		||||
		if ((target == 55 || target == 132) && (source == 0 || source == 10 || source == 11))
 | 
			
		||||
			block.setTypeId(0);
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user