MapVessel.empty_map : remove mapblock at pos 0 as well
- Reported in #9
This commit is contained in:
parent
5486478ad7
commit
849c12ca18
@ -509,7 +509,7 @@ class MapVessel:
|
||||
|
||||
logger.warning("WARNING: Emptying the entire map of its mapblocks")
|
||||
try:
|
||||
self.cur.execute("DELETE from `blocks` WHERE `pos`")
|
||||
self.cur.execute("DELETE from `blocks` where pos or pos == 0")
|
||||
except _sql.OperationalError as err:
|
||||
raise MapError("Error while removing all mapblock : {0}".format(err))
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user