Removing unused imports

This commit is contained in:
Tim Düsterhus 2011-09-10 17:43:00 +02:00
parent f20b275ba9
commit 1e8b1b8193
2 changed files with 4 additions and 9 deletions

View File

@ -18,8 +18,6 @@ import org.bukkit.entity.Player;
import org.bukkit.event.player.PlayerMoveEvent;
import org.bukkit.inventory.ItemStack;
import org.bukkit.inventory.PlayerInventory;
import org.bukkit.plugin.Plugin;
import bukkit.tommytony.war.War;
import com.tommytony.war.jobs.InitZoneJob;
@ -29,7 +27,7 @@ import com.tommytony.war.utils.InventoryStash;
import com.tommytony.war.volumes.ZoneVolume;
/**
*
*
* @author tommytony
* @package com.tommytony.war
*/
@ -213,7 +211,7 @@ public class Warzone {
/**
* Goes back to the saved state of the warzone (resets only block types, not physics). Also teleports all players back to their respective spawns.
*
*
* @return
*/
public void initializeZone() {

View File

@ -1,8 +1,6 @@
package com.tommytony.war.jobs;
import java.util.HashMap;
import java.util.logging.Level;
import org.bukkit.Material;
import org.bukkit.entity.Player;
import org.bukkit.inventory.ItemStack;
@ -15,8 +13,7 @@ import com.tommytony.war.Warzone;
import bukkit.tommytony.war.War;
/**
* Sets the helmet again onto the players heads.
* Also limits the number of blocks being held.
* Sets the helmet again onto the players heads. Also limits the number of blocks being held.
*
* @author Tim Düsterhus
*/
@ -81,7 +78,7 @@ public class HelmetProtectionTask implements Runnable {
}
}
}
private ItemStack createBlockHead(Team team) {
return new ItemStack(team.getKind().getMaterial(), 1, (short) 1, new Byte(team.getKind().getData()));
}