mirror of
https://github.com/celisej567/mcpe.git
synced 2026-09-23 20:09:46 +03:00
Merge devel into master (#78)
* * Turn survival back on for now. * * Add TP command. * * Fix fall damage reset. * * Mob hitting works. I've disabled entity shading though. Will get back to it at some point, promise! * * Knockback * * Mobs now rotate when they die. * * Fire fix
This commit is contained in:
@@ -176,6 +176,11 @@ bool ItemInstance::matches(ItemInstance* a1, ItemInstance* a2)
|
||||
return a1->matches(a2);
|
||||
}
|
||||
|
||||
int ItemInstance::getAttackDamage(Entity *pEnt)
|
||||
{
|
||||
return getItem()->getAttackDamage(pEnt);
|
||||
}
|
||||
|
||||
void ItemInstance::mineBlock(int x, int y, int z, int d)
|
||||
{
|
||||
return getItem()->mineBlock(this, x, y, z, d);
|
||||
|
||||
Reference in New Issue
Block a user