forked from mirrors/kolyah35-minecraft-pe-0.6.1
FEAT: Player data saving/loading
This commit is contained in:
parent
6957f144e1
commit
61a2349b8b
7 changed files with 146 additions and 3 deletions
|
|
@ -68,6 +68,7 @@ bool SurvivalMode::destroyBlock( int x, int y, int z, int face ) {
|
|||
minecraft->player->inventory->clearSlot(minecraft->player->inventory->selected);
|
||||
}
|
||||
}
|
||||
|
||||
if (changed && couldDestroy) {
|
||||
ItemInstance instance(t, 1, data);
|
||||
Tile::tiles[t]->playerDestroy(minecraft->level, minecraft->player, x, y, z, data);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue