[Bleeding] Added EntityType to replace CreatureType.
This commit is contained in:
committed by
EvilSeph
parent
7792156fb2
commit
af51313ffb
@@ -2,6 +2,7 @@ package org.bukkit.craftbukkit.entity;
|
||||
|
||||
import net.minecraft.server.EntitySmallFireball;
|
||||
import org.bukkit.craftbukkit.CraftServer;
|
||||
import org.bukkit.entity.EntityType;
|
||||
import org.bukkit.entity.SmallFireball;
|
||||
|
||||
public class CraftSmallFireball extends CraftFireball implements SmallFireball {
|
||||
@@ -18,4 +19,8 @@ public class CraftSmallFireball extends CraftFireball implements SmallFireball {
|
||||
public String toString() {
|
||||
return "CraftSmallFireball";
|
||||
}
|
||||
|
||||
public EntityType getType() {
|
||||
return EntityType.SMALL_FIREBALL;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user