mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Fix chest not working after walked away and came back
This commit is contained in:
parent
5f39885975
commit
b0481b9db1
2 changed files with 19 additions and 3 deletions
|
@ -157,6 +157,10 @@ public:
|
|||
// Returns NULL if not found
|
||||
MapBlock * getBlockNoCreateNoEx(v3s16 p);
|
||||
|
||||
/* Server overrides */
|
||||
virtual MapBlock * emergeBlock(v3s16 p, bool allow_generate=true)
|
||||
{ return getBlockNoCreateNoEx(p); }
|
||||
|
||||
// Returns InvalidPositionException if not found
|
||||
bool isNodeUnderground(v3s16 p);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue