Merge branch 'master' of ssh://dev.mineplex.com:7999/min/mineplex

This commit is contained in:
Chiss 2013-11-16 17:11:05 +11:00
commit d71a8002d3
2 changed files with 32 additions and 0 deletions

Binary file not shown.

View File

@ -0,0 +1,32 @@
package mineplex.core.disguise.disguises;
public class DisguiseCat extends DisguiseTameableAnimal
{
public DisguiseCat(org.bukkit.entity.Entity entity)
{
super(entity);
DataWatcher.a(18, Byte.valueOf((byte)0));
}
public int getCatType()
{
return DataWatcher.getByte(18);
}
public void setCatType(int i)
{
DataWatcher.watch(18, Byte.valueOf((byte)i));
}
@Override
protected int GetEntityTypeId()
{
return 98;
}
protected String getHurtSound()
{
return "mob.cat.hitt";
}
}