diff --git a/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/game/games/smash/perks/magmacube/PerkMagmaBlast.java b/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/game/games/smash/perks/magmacube/PerkMagmaBlast.java index 569568f7e..4187869ff 100644 --- a/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/game/games/smash/perks/magmacube/PerkMagmaBlast.java +++ b/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/game/games/smash/perks/magmacube/PerkMagmaBlast.java @@ -26,7 +26,6 @@ import mineplex.core.common.util.UtilBlock; import mineplex.core.common.util.UtilEvent; import mineplex.core.common.util.UtilEvent.ActionType; import mineplex.core.common.util.UtilItem; -import mineplex.core.common.util.UtilMath; import mineplex.core.common.util.UtilParticle; import mineplex.core.common.util.UtilParticle.ParticleType; import mineplex.core.common.util.UtilParticle.ViewDist; @@ -34,9 +33,7 @@ import mineplex.core.common.util.UtilPlayer; import mineplex.core.recharge.Recharge; import mineplex.core.updater.UpdateType; import mineplex.core.updater.event.UpdateEvent; -import mineplex.minecraft.game.core.damage.CustomDamageEvent; -import nautilus.game.arcade.game.games.smash.TeamSuperSmash; import nautilus.game.arcade.kit.Perk; public class PerkMagmaBlast extends Perk @@ -196,41 +193,4 @@ public class PerkMagmaBlast extends Perk // Particles UtilParticle.PlayParticleToAll(ParticleType.LAVA, proj.getLocation(), 0.1f, 0.1f, 0.1f, 0.1f, 50, ViewDist.LONG); } - - //TODO REMOVE METHOD IF FIRE GONE DONT FORGET - //@EventHandler - public void damage(CustomDamageEvent event) - { - if (event.GetProjectile() == null || event.GetDamageeEntity() == null) - { - return; - } - - Projectile proj = event.GetProjectile(); - - if (!(proj instanceof LargeFireball)) - { - return; - } - - if (!_proj.containsKey(proj)) - { - return; - } - - Player player = event.GetDamageePlayer(); - if(proj.getShooter() instanceof Player) - { - Player shooter = (Player) proj.getShooter(); - if(TeamSuperSmash.getTeam(Manager, shooter, true).contains(player)) - { - return; - } - } - - if (UtilMath.offset(player, proj) < _fireRadius) - { - player.setFireTicks(_fireTicks); - } - } }