mirror of
https://gitlab.com/phoenix-dvpmt/mmoitems.git
synced 2024-12-23 04:47:34 +01:00
!TODO Item Bomb
This commit is contained in:
parent
ff085d1dbe
commit
1be031f8cc
@ -42,6 +42,7 @@ public class Item_Bomb extends Ability implements Listener {
|
||||
return new VectorAbilityResult(ability, stats.getPlayer(), target);
|
||||
}
|
||||
|
||||
// TODO getItemInMainHand? Breaks the ability when used in the offhand.
|
||||
@Override
|
||||
public void whenCast(CachedStats stats, AbilityResult ability, ItemAttackResult result) {
|
||||
ItemStack itemStack = stats.getPlayer().getInventory().getItemInMainHand().clone();
|
||||
|
Loading…
Reference in New Issue
Block a user