package com.censoredsoftware.Demigods.Engine.Runnable;

import org.bukkit.scheduler.BukkitRunnable;

import com.censoredsoftware.Demigods.Engine.Object.Battle.Battle;
import com.censoredsoftware.Demigods.Engine.Utility.BattleUtility;

public class BattleRunnable extends BukkitRunnable
{
	@Override
	public void run()
	{
		for(Battle battle : Battle.getAll()) // TODO Something is buggy here.
		{
			if(battle.getMeta().getKills() > battle.getMaxKills() || (battle.getStartTime() + (battle.getDuration()) <= System.currentTimeMillis() && battle.getMeta().getKills() > battle.getMinKills())) battle.end();
			else BattleUtility.battleBorder(battle);
		}
	}
}

@@ -450,17 +450,16 @@
 ls() %7C%7C 
-(
 battle.g
@@ -474,17 +474,16 @@
 ime() + 
-(
 battle.g
@@ -494,17 +494,16 @@
 ration()
-)
  %3C= Syst
@@ -579,17 +579,16 @@
 Kills())
-)
  battle.

Remove extra parentheses.