Removed a spammy print out >.<

This commit is contained in:
Garbage Mule 2011-07-11 09:25:03 +02:00
parent 337586d01e
commit 476b13ce1f
3 changed files with 3 additions and 14 deletions

Binary file not shown.

View File

@ -171,7 +171,7 @@ public class Arena
// Start the spawnThread.
spawnThread = new MASpawnThread(plugin, this);
spawnTaskId = Bukkit.getServer().getScheduler().scheduleSyncRepeatingTask(plugin, spawnThread, waveDelay, waveInterval);
spawnTaskId = Bukkit.getServer().getScheduler().scheduleSyncRepeatingTask(plugin, spawnThread, waveDelay, (!waveClear) ? waveInterval : 60);
readyPlayers.clear();
MAUtils.tellAll(this, MAMessages.get(Msg.ARENA_START));
@ -1219,14 +1219,8 @@ public class Arena
// Make sure to remove any dead/removed entities first.
List<Entity> tmp = new LinkedList<Entity>(monsters);
for (Entity e : tmp)
{
out(e.getClass().getSimpleName());
if (e.isDead())
{
out("Removing monster");
monsters.remove(e);
}
}
// Compare the current size with the previous size.
if (monsters.size() < spawnThread.previousSize || spawnThread.previousSize == 0)
@ -1267,9 +1261,4 @@ public class Arena
{
return ((enabled && setup) ? ChatColor.GREEN : ChatColor.GRAY) + configName();
}
private void out(String s)
{
System.out.println(s);
}
}

View File

@ -336,7 +336,7 @@ public class MAUtils
try
{
if (backupFile.exists())
if (backupFile.exists() && !restoreInventory(p))
return false;
backupFile.createNewFile();