Skip to content
Permalink
Browse files

TippedArrow again.

  • Loading branch information...
wizjany committed Aug 2, 2019
1 parent 93dae28 commit 7538af2686f35a0ae1d1738da248f19e00011257
Showing with 2 additions and 2 deletions.
  1. +2 −2 worldguard-bukkit/src/main/java/com/sk89q/worldguard/bukkit/util/Entities.java
@@ -21,6 +21,7 @@

import org.bukkit.entity.Ambient;
import org.bukkit.entity.ArmorStand;
import org.bukkit.entity.Arrow;
import org.bukkit.entity.Creature;
import org.bukkit.entity.EnderCrystal;
import org.bukkit.entity.EnderDragon;
@@ -40,7 +41,6 @@
import org.bukkit.entity.SpectralArrow;
import org.bukkit.entity.TNTPrimed;
import org.bukkit.entity.Tameable;
import org.bukkit.entity.TippedArrow;
import org.bukkit.entity.Vehicle;
import org.bukkit.entity.minecart.ExplosiveMinecart;
import org.bukkit.inventory.InventoryHolder;
@@ -212,7 +212,7 @@ public static boolean isConsideredBuildingIfUsed(Entity entity) {
}

public static boolean isPotionArrow(Entity entity) {
return entity instanceof TippedArrow || entity instanceof SpectralArrow;
return entity instanceof Arrow || entity instanceof SpectralArrow;
}

public static boolean isAoECloud(EntityType type) {

0 comments on commit 7538af2

Please sign in to comment.
You can’t perform that action at this time.