Add function for faking blocks while pathing
This commit is contained in:
@@ -54,11 +54,7 @@ class CacheItemsStates:
|
||||
|
||||
chest = self.trapped_chests[0]
|
||||
|
||||
tmp = c.get_block_at(*chest)
|
||||
c.set_block_at(*chest, blocks.AIR)
|
||||
navpath = w.path_to_place(p, chest)
|
||||
c.set_block_at(*chest, tmp)
|
||||
|
||||
navpath = w.path_to_place_faked(p, chest)
|
||||
print('navpath:', navpath)
|
||||
|
||||
if navpath:
|
||||
|
||||
Reference in New Issue
Block a user