diff --git a/TwosideKeeper.jar b/TwosideKeeper.jar index 2474ec0..e3b029a 100644 Binary files a/TwosideKeeper.jar and b/TwosideKeeper.jar differ diff --git a/src/sig/plugin/TwosideKeeper/TwosideKeeper.java b/src/sig/plugin/TwosideKeeper/TwosideKeeper.java index 675fd2a..e3ab8f6 100644 --- a/src/sig/plugin/TwosideKeeper/TwosideKeeper.java +++ b/src/sig/plugin/TwosideKeeper/TwosideKeeper.java @@ -3172,7 +3172,7 @@ public class TwosideKeeper extends JavaPlugin implements Listener { !GenericFunctions.isViewingInventory(ev.getPlayer())) { ev.setCancelled(true); PlayerStructure pd = (PlayerStructure)playerdata.get(ev.getPlayer().getUniqueId()); - boolean second_charge = (ev.getPlayer().hasPotionEffect(PotionEffectType.GLOWING) || (ev.getPlayer().hasPotionEffect(PotionEffectType.SLOW) && GenericFunctions.getPotionEffectLevel(PotionEffectType.SLOW, ev.getPlayer())==20)); + boolean second_charge = (CustomDamage.isInIframe(ev.getPlayer()) || (ev.getPlayer().hasPotionEffect(PotionEffectType.SLOW) && GenericFunctions.getPotionEffectLevel(PotionEffectType.SLOW, ev.getPlayer())==20)); if ((ev.getPlayer().isOnGround() || second_charge) && pd.last_strikerspell+LINEDRIVE_COOLDOWN