Fixed Aerial and Atmospheric

This commit is contained in:
Auxilor
2020-08-30 10:42:44 +01:00
parent 7a16f7de2d
commit 02791977a7
2 changed files with 2 additions and 2 deletions

View File

@@ -44,7 +44,7 @@ public class Aerial extends EcoEnchant {
return;
Arrow arrow = (Arrow) event.getDamager();
if(EnchantChecks.arrow(arrow, this)) return;
if(!EnchantChecks.arrow(arrow, this)) return;
if(!arrow.hasMetadata("shot-in-air")) return;
int level = EnchantChecks.getArrowLevel(arrow, this);

View File

@@ -49,7 +49,7 @@ public class Atmospheric extends EcoEnchant {
Trident trident = (Trident) event.getDamager();
if(!trident.hasMetadata("shot-in-air")) return;
ItemStack item = TridentStack.getTridentStack(trident);
if(EnchantChecks.item(item, this)) return;
if(!EnchantChecks.item(item, this)) return;
int level = EnchantChecks.getItemLevel(item, this);