Fix sand gather job bugs

This commit is contained in:
2020-09-16 20:31:46 -06:00
parent f2e0b162f9
commit 5c21634d16
3 changed files with 14 additions and 2 deletions
+2 -2
View File
@@ -193,9 +193,9 @@ class GatherSandStates:
w = self.g.world
p = utils.pint(self.g.pos)
w.chunks.set_block_at(*self.sand, 0)
self.g.chunks.set_block_at(*self.sand, blocks.AIR)
navpath = w.path_to_place(p, self.sand)
w.chunks.set_block_at(*self.sand, 66)
self.g.chunks.set_block_at(*self.sand, blocks.SAND)
if navpath:
self.g.path = navpath[:-1]