mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-12 16:15:20 +02:00
PostgreSQL: fix delete block
Typo fix: we are doing select on delete block. This fix issue #5426
This commit is contained in:
@@ -281,7 +281,7 @@ bool Database_PostgreSQL::deleteBlock(const v3s16 &pos)
|
||||
const int argLen[] = { sizeof(x), sizeof(y), sizeof(z) };
|
||||
const int argFmt[] = { 1, 1, 1 };
|
||||
|
||||
execPrepared("read_block", ARRLEN(args), args, argLen, argFmt);
|
||||
execPrepared("delete_block", ARRLEN(args), args, argLen, argFmt);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
Reference in New Issue
Block a user