Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ExpensiveLadder committed Dec 13, 2020
1 parent f0b3922 commit 0700acc
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package crafttweaker.mc1120.events.handling;

import crafttweaker.api.entity.IEntity;
import crafttweaker.api.entity.IEntityArrow;
import crafttweaker.api.event.ProjectileImpactArrowEvent;
import crafttweaker.api.minecraft.CraftTweakerMC;
import net.minecraft.entity.projectile.EntityArrow;
Expand All @@ -21,6 +22,11 @@ public IEntity getArrow() {
return CraftTweakerMC.getIEntity(arrow);
}

@Override
public IEntityArrow getArrowNew() {
return CraftTweakerMC.getIEntityArrow(arrow);
}

@Override
public IEntity getShooter() {
return CraftTweakerMC.getIEntity(arrow.shootingEntity);
Expand Down

0 comments on commit 0700acc

Please sign in to comment.