From 14bdf056e49cd6553b15ce45fc0ad4920b7b1624 Mon Sep 17 00:00:00 2001 From: Sobki Date: Sun, 22 Jan 2017 18:48:20 +1000 Subject: [PATCH] Remove Warnings (#707) --- src/com/projectkorra/projectkorra/GeneralMethods.java | 1 - src/com/projectkorra/projectkorra/waterbending/SurgeWall.java | 4 +--- .../projectkorra/waterbending/multiabilities/WaterArms.java | 1 - 3 files changed, 1 insertion(+), 5 deletions(-) diff --git a/src/com/projectkorra/projectkorra/GeneralMethods.java b/src/com/projectkorra/projectkorra/GeneralMethods.java index 197643f0..0dd1ddb5 100644 --- a/src/com/projectkorra/projectkorra/GeneralMethods.java +++ b/src/com/projectkorra/projectkorra/GeneralMethods.java @@ -123,7 +123,6 @@ import com.projectkorra.projectkorra.util.TempBlock; import com.projectkorra.projectkorra.util.ReflectionHandler.PackageType; import com.projectkorra.projectkorra.waterbending.WaterManipulation; import com.projectkorra.projectkorra.waterbending.WaterSpout; -import com.projectkorra.projectkorra.waterbending.ice.PhaseChange; import com.sk89q.worldguard.bukkit.WorldGuardPlugin; import com.sk89q.worldguard.protection.flags.DefaultFlag; diff --git a/src/com/projectkorra/projectkorra/waterbending/SurgeWall.java b/src/com/projectkorra/projectkorra/waterbending/SurgeWall.java index 32559df6..37921918 100644 --- a/src/com/projectkorra/projectkorra/waterbending/SurgeWall.java +++ b/src/com/projectkorra/projectkorra/waterbending/SurgeWall.java @@ -26,7 +26,7 @@ import com.projectkorra.projectkorra.waterbending.util.WaterReturn; 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 Map AFFECTED_BLOCKS = new ConcurrentHashMap<>(); private static final Map WALL_BLOCKS = new ConcurrentHashMap<>(); @@ -48,7 +48,6 @@ public class SurgeWall extends WaterAbility { private Vector firstDirection; private Vector targetDirection; - @SuppressWarnings("deprecation") public SurgeWall(Player player) { super(player); @@ -363,7 +362,6 @@ public class SurgeWall extends WaterAbility { } } - @SuppressWarnings("deprecation") public static void form(Player player) { BendingPlayer bPlayer = BendingPlayer.getBendingPlayer(player); if (bPlayer == null) { diff --git a/src/com/projectkorra/projectkorra/waterbending/multiabilities/WaterArms.java b/src/com/projectkorra/projectkorra/waterbending/multiabilities/WaterArms.java index 5c880cc2..d63c87b5 100644 --- a/src/com/projectkorra/projectkorra/waterbending/multiabilities/WaterArms.java +++ b/src/com/projectkorra/projectkorra/waterbending/multiabilities/WaterArms.java @@ -11,7 +11,6 @@ import com.projectkorra.projectkorra.util.DamageHandler; import com.projectkorra.projectkorra.util.ParticleEffect; import com.projectkorra.projectkorra.util.TempBlock; import com.projectkorra.projectkorra.waterbending.multiabilities.WaterArmsWhip.Whip; -import com.projectkorra.projectkorra.waterbending.plant.PlantRegrowth; import com.projectkorra.projectkorra.waterbending.util.WaterReturn; import org.bukkit.ChatColor;