1
0
Fork 0
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:
Perttu Ahola 2011-10-17 01:04:22 +03:00
parent 5f39885975
commit b0481b9db1
2 changed files with 19 additions and 3 deletions

View file

@ -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);