[Bleeding] Added EntityType to replace CreatureType.
This commit is contained in:
committed by
EvilSeph
parent
7792156fb2
commit
af51313ffb
@@ -1,7 +1,9 @@
|
||||
package org.bukkit.craftbukkit.entity;
|
||||
|
||||
import net.minecraft.server.EntityMushroomCow;
|
||||
|
||||
import org.bukkit.craftbukkit.CraftServer;
|
||||
import org.bukkit.entity.EntityType;
|
||||
import org.bukkit.entity.MushroomCow;
|
||||
|
||||
public class CraftMushroomCow extends CraftCow implements MushroomCow {
|
||||
@@ -18,4 +20,8 @@ public class CraftMushroomCow extends CraftCow implements MushroomCow {
|
||||
public String toString() {
|
||||
return "CraftMushroomCow";
|
||||
}
|
||||
|
||||
public EntityType getType() {
|
||||
return EntityType.MUSHROOM_COW;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user