world gui, ...
This commit is contained in:
parent
517e7d74f9
commit
6a6a820963
7 changed files with 87 additions and 29 deletions
|
@ -1073,10 +1073,10 @@ public abstract class EntityNPC extends EntityLiving
|
|||
// return ;
|
||||
// }
|
||||
|
||||
protected boolean hasSlimSkin()
|
||||
{
|
||||
return this.getChar().startsWith("~");
|
||||
}
|
||||
// protected boolean hasSlimSkin()
|
||||
// {
|
||||
// return this.getChar().startsWith("~");
|
||||
// }
|
||||
|
||||
public String getLocationCape()
|
||||
{
|
||||
|
@ -4670,7 +4670,7 @@ public abstract class EntityNPC extends EntityLiving
|
|||
public Item getItem() {
|
||||
for(int z = 0; z < this.species.chars.length; z++) {
|
||||
if(this.species.chars[z].spawner && this.species.chars[z].skin.equals(this.getChar())) {
|
||||
return ItemRegistry.getRegisteredItem(this.species.chars[z].skin.replace("~", "") + "_spawner");
|
||||
return ItemRegistry.getRegisteredItem(this.species.chars[z].skin + "_spawner");
|
||||
}
|
||||
}
|
||||
return super.getItem();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue