Skip to content

Commit

Permalink
support FLAME bow enchantment
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmonkey4eva committed Aug 10, 2016
1 parent b552c33 commit a7c41a6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/main/java/org/mcmonkey/sentinel/SentinelTrait.java
Expand Up @@ -461,7 +461,9 @@ public void fireArrow(ItemStack type, Location target, Vector lead) {
}
}
arrow.setVelocity(fixForAcc(start.getValue()));
// TODO: Prevent pick up if needed!
if (npc.getTrait(Inventory.class).getContents()[0].containsEnchantment(Enchantment.ARROW_FIRE)) {
arrow.setFireTicks(10000);
}
useItem();
}

Expand Down

0 comments on commit a7c41a6

Please sign in to comment.