Remove Warnings (#707)

This commit is contained in:
Sobki 2017-01-22 18:48:20 +10:00 committed by Christopher Martin
parent d254e9d491
commit 14bdf056e4
3 changed files with 1 additions and 5 deletions

View file

@ -123,7 +123,6 @@ import com.projectkorra.projectkorra.util.TempBlock;
import com.projectkorra.projectkorra.util.ReflectionHandler.PackageType; import com.projectkorra.projectkorra.util.ReflectionHandler.PackageType;
import com.projectkorra.projectkorra.waterbending.WaterManipulation; import com.projectkorra.projectkorra.waterbending.WaterManipulation;
import com.projectkorra.projectkorra.waterbending.WaterSpout; import com.projectkorra.projectkorra.waterbending.WaterSpout;
import com.projectkorra.projectkorra.waterbending.ice.PhaseChange;
import com.sk89q.worldguard.bukkit.WorldGuardPlugin; import com.sk89q.worldguard.bukkit.WorldGuardPlugin;
import com.sk89q.worldguard.protection.flags.DefaultFlag; import com.sk89q.worldguard.protection.flags.DefaultFlag;

View file

@ -26,7 +26,7 @@ import com.projectkorra.projectkorra.waterbending.util.WaterReturn;
public class SurgeWall extends WaterAbility { public class SurgeWall extends WaterAbility {
private static final byte FULL = 0x0; // private static final byte FULL = 0x0;
private static final String RANGE_CONFIG = "Abilities.Water.Surge.Wall.Range"; private static final String RANGE_CONFIG = "Abilities.Water.Surge.Wall.Range";
private static final Map<Block, Block> AFFECTED_BLOCKS = new ConcurrentHashMap<>(); private static final Map<Block, Block> AFFECTED_BLOCKS = new ConcurrentHashMap<>();
private static final Map<Block, Player> WALL_BLOCKS = new ConcurrentHashMap<>(); private static final Map<Block, Player> WALL_BLOCKS = new ConcurrentHashMap<>();
@ -48,7 +48,6 @@ public class SurgeWall extends WaterAbility {
private Vector firstDirection; private Vector firstDirection;
private Vector targetDirection; private Vector targetDirection;
@SuppressWarnings("deprecation")
public SurgeWall(Player player) { public SurgeWall(Player player) {
super(player); super(player);
@ -363,7 +362,6 @@ public class SurgeWall extends WaterAbility {
} }
} }
@SuppressWarnings("deprecation")
public static void form(Player player) { public static void form(Player player) {
BendingPlayer bPlayer = BendingPlayer.getBendingPlayer(player); BendingPlayer bPlayer = BendingPlayer.getBendingPlayer(player);
if (bPlayer == null) { if (bPlayer == null) {

View file

@ -11,7 +11,6 @@ import com.projectkorra.projectkorra.util.DamageHandler;
import com.projectkorra.projectkorra.util.ParticleEffect; import com.projectkorra.projectkorra.util.ParticleEffect;
import com.projectkorra.projectkorra.util.TempBlock; import com.projectkorra.projectkorra.util.TempBlock;
import com.projectkorra.projectkorra.waterbending.multiabilities.WaterArmsWhip.Whip; import com.projectkorra.projectkorra.waterbending.multiabilities.WaterArmsWhip.Whip;
import com.projectkorra.projectkorra.waterbending.plant.PlantRegrowth;
import com.projectkorra.projectkorra.waterbending.util.WaterReturn; import com.projectkorra.projectkorra.waterbending.util.WaterReturn;
import org.bukkit.ChatColor; import org.bukkit.ChatColor;