Fix sand gather job bugs
This commit is contained in:
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user