mirror of
https://github.com/TotalFreedomMC/TF-ProjectKorra.git
synced 2024-12-23 00:15:05 +00:00
Remove Warnings (#707)
This commit is contained in:
parent
d254e9d491
commit
14bdf056e4
3 changed files with 1 additions and 5 deletions
|
@ -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;
|
||||||
|
|
||||||
|
|
|
@ -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) {
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue