Added custom name to wither disguise.
This commit is contained in:
parent
2cf76ae5b4
commit
685a2899ca
@ -1,6 +1,7 @@
|
||||
package mineplex.core.disguise.disguises;
|
||||
|
||||
import org.bukkit.entity.EntityType;
|
||||
import org.bukkit.entity.LivingEntity;
|
||||
|
||||
public class DisguiseWither extends DisguiseMonster
|
||||
{
|
||||
@ -8,6 +9,8 @@ public class DisguiseWither extends DisguiseMonster
|
||||
{
|
||||
super(EntityType.WITHER, entity);
|
||||
|
||||
DataWatcher.a(11, new Byte((byte) 1));
|
||||
DataWatcher.a(10, new String(((LivingEntity)entity).getCustomName()));
|
||||
DataWatcher.a(17, new Integer(0));
|
||||
DataWatcher.a(18, new Integer(0));
|
||||
DataWatcher.a(19, new Integer(0));
|
||||
|
Loading…
Reference in New Issue
Block a user