mirror of
https://gitea.sffnetwork.ru/Kolyah35/minecraft-pe-0.6.1.git
synced 2026-11-24 19:39:47 +00:00
Fixed door destroy logic
This commit is contained in:
parent
f17a11c670
commit
b4f54083dc
2 changed files with 22 additions and 7 deletions
|
|
@ -49,6 +49,9 @@ public:
|
|||
|
||||
int getResource(int data, Random* random);
|
||||
|
||||
// override to avoid duplicate drops when upper half is mined directly
|
||||
void playerDestroy(Level* level, Player* player, int x, int y, int z, int data) override;
|
||||
|
||||
HitResult clip(Level* level, int xt, int yt, int zt, const Vec3& a, const Vec3& b);
|
||||
|
||||
int getDir(LevelSource* level, int x, int y, int z);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue