[Bleeding] Added EntityType to replace CreatureType.
This commit is contained in:
committed by
EvilSeph
parent
7792156fb2
commit
af51313ffb
@@ -10,6 +10,7 @@ import org.bukkit.block.BlockFace;
|
||||
import org.bukkit.craftbukkit.CraftArt;
|
||||
import org.bukkit.craftbukkit.CraftServer;
|
||||
import org.bukkit.craftbukkit.CraftWorld;
|
||||
import org.bukkit.entity.EntityType;
|
||||
import org.bukkit.entity.Painting;
|
||||
|
||||
public class CraftPainting extends CraftEntity implements Painting {
|
||||
@@ -122,4 +123,8 @@ public class CraftPainting extends CraftEntity implements Painting {
|
||||
public String toString() {
|
||||
return "CraftPainting{art=" + getArt() + "}";
|
||||
}
|
||||
|
||||
public EntityType getType() {
|
||||
return EntityType.PAINTING;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user