From 879e71492ec398d7a33c8ef90cad1a227fea3fb7 Mon Sep 17 00:00:00 2001 From: MistPhizzle Date: Sat, 27 Dec 2014 11:14:07 -0500 Subject: [PATCH] Clean comments in AirBubble --- .../ProjectKorra/airbending/AirBubble.java | 27 ------------------- 1 file changed, 27 deletions(-) diff --git a/src/com/projectkorra/ProjectKorra/airbending/AirBubble.java b/src/com/projectkorra/ProjectKorra/airbending/AirBubble.java index 6a91fb95..0bae8cd2 100644 --- a/src/com/projectkorra/ProjectKorra/airbending/AirBubble.java +++ b/src/com/projectkorra/ProjectKorra/airbending/AirBubble.java @@ -20,18 +20,13 @@ public class AirBubble { private static double defaultAirRadius = ProjectKorra.plugin.getConfig().getDouble("Abilities.Air.AirBubble.Radius"); private static double defaultWaterRadius = ProjectKorra.plugin.getConfig().getDouble("Abilities.Water.WaterBubble.Radius"); - // private static byte full = AirBlast.full; - - // private static final byte full = 0x0; private Player player; private double radius; - // private ConcurrentHashMap waterorigins; private ConcurrentHashMap waterorigins; public AirBubble(Player player) { this.player = player; - // waterorigins = new ConcurrentHashMap(); waterorigins = new ConcurrentHashMap(); instances.put(player.getEntityId(), this); } @@ -56,22 +51,10 @@ public class AirBubble { if (block.getWorld() != location.getWorld()) { if (block.getType() == Material.AIR || Methods.isWater(block)) waterorigins.get(block).update(true); - // byte data = full; - // block = block.getLocation().getBlock(); - // if (block.getType() == Material.AIR) { - // block.setType(Material.WATER); - // block.setData(data); - // } waterorigins.remove(block); } else if (block.getLocation().distance(location) > radius) { if (block.getType() == Material.AIR || Methods.isWater(block)) waterorigins.get(block).update(true); - // byte data = full; - // block = block.getLocation().getBlock(); - // if (block.getType() == Material.AIR) { - // block.setType(Material.WATER); - // block.setData(data); - // } waterorigins.remove(block); } } @@ -87,10 +70,7 @@ public class AirBubble { if (block.getType() == Material.STATIONARY_WATER || block.getType() == Material.WATER) { if (WaterManipulation.canBubbleWater(block)) { - // if (block.getData() == full) waterorigins.put(block, block.getState()); - // waterorigins.put(block, block.getData()); - block.setType(Material.AIR); } } @@ -122,13 +102,6 @@ public class AirBubble { removeBubble(); return false; - // if ((Methods.getBendingAbility(player) != Abilities.AirBubble && Methods - // .getBendingAbility(player) != Abilities.WaterBubble)) { - // removeBubble(); - // return false; - // } - // pushWater(); - // return true; } public static void handleBubbles(Server server) {