Update chunk logic

Correctly store time of last modification
Use "load" to get a chunk (or load/create one if it isn't loaded)
This commit is contained in:
Joscha 2017-04-15 11:59:58 +00:00
parent d68d32ff2f
commit 4822cab0fc
3 changed files with 14 additions and 13 deletions

View file

@ -36,9 +36,6 @@ class ClientChunkPool(ChunkPool):
if diffs:
self._client.send_changes(diffs)
def load(self, pos):
raise Exception
def load_list(self, coords):
coords = [pos for pos in coords if pos not in self._chunks]
if coords: