skin ok
This commit is contained in:
parent
5b28037bc1
commit
bdbf50ea8e
@ -21,6 +21,7 @@ Android::~Android()
|
|||||||
void Android::Initialize()
|
void Android::Initialize()
|
||||||
{
|
{
|
||||||
health = meta->i->health();
|
health = meta->i->health();
|
||||||
|
skin = 14001;
|
||||||
RecalcSelfCollider();
|
RecalcSelfCollider();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -566,6 +566,15 @@ void Player::LootInteraction(Loot* entity)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
case 8:
|
||||||
|
{
|
||||||
|
if (skin != 0) {
|
||||||
|
room->DropItem(pos, item_meta->i->id(), 1);
|
||||||
|
}
|
||||||
|
skin = entity->item_id;
|
||||||
|
need_sync_active_player = true;
|
||||||
|
}
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
{
|
{
|
||||||
if (item_meta->i->_inventory_slot() >= 0 &&
|
if (item_meta->i->_inventory_slot() >= 0 &&
|
||||||
|
Loading…
x
Reference in New Issue
Block a user