[Bleeding] Added EntityType to replace CreatureType.
This commit is contained in:
committed by
EvilSeph
parent
7792156fb2
commit
af51313ffb
@@ -5,6 +5,7 @@ import java.util.Collection;
|
||||
import net.minecraft.server.EntityPotion;
|
||||
|
||||
import org.bukkit.craftbukkit.CraftServer;
|
||||
import org.bukkit.entity.EntityType;
|
||||
import org.bukkit.entity.ThrownPotion;
|
||||
import org.bukkit.potion.Potion;
|
||||
import org.bukkit.potion.PotionEffectType;
|
||||
@@ -34,4 +35,8 @@ public class CraftThrownPotion extends CraftProjectile implements ThrownPotion {
|
||||
public String toString() {
|
||||
return "CraftThrownPotion";
|
||||
}
|
||||
|
||||
public EntityType getType() {
|
||||
return EntityType.SPLASH_POTION;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user