mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
LuaVoxelManip: Remove blank allocator
This commit is contained in:
parent
3c637b4baf
commit
cc3ab5efa5
6 changed files with 22 additions and 46 deletions
|
@ -189,7 +189,7 @@ public:
|
|||
MapBlock * getBlockNoCreateNoEx(v3s16 p);
|
||||
|
||||
/* Server overrides */
|
||||
virtual MapBlock * emergeBlock(v3s16 p, bool allow_generate=true)
|
||||
virtual MapBlock * emergeBlock(v3s16 p, bool create_blank=true)
|
||||
{ return getBlockNoCreateNoEx(p); }
|
||||
|
||||
// Returns InvalidPositionException if not found
|
||||
|
@ -550,8 +550,6 @@ public:
|
|||
void setMap(Map *map)
|
||||
{m_map = map;}
|
||||
|
||||
void initializeBlank(v3s16 pmin, v3s16 pmax);
|
||||
|
||||
void initialEmerge(v3s16 blockpos_min, v3s16 blockpos_max,
|
||||
bool load_if_inexistent = true);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue