[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.EntitySnowman;
|
||||
|
||||
import org.bukkit.craftbukkit.CraftServer;
|
||||
import org.bukkit.entity.EntityType;
|
||||
import org.bukkit.entity.Snowman;
|
||||
|
||||
public class CraftSnowman extends CraftCreature implements Snowman {
|
||||
@@ -18,4 +20,8 @@ public class CraftSnowman extends CraftCreature implements Snowman {
|
||||
public String toString() {
|
||||
return "CraftSnowman";
|
||||
}
|
||||
|
||||
public EntityType getType() {
|
||||
return EntityType.SNOWMAN;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user