attack program - new

This commit is contained in:
kepler155c
2018-11-23 15:13:56 -05:00
parent 252fdfb138
commit dc61f89739

View File

@@ -44,6 +44,8 @@ equip('right', 'plethora:sensor', 'plethora:module:3')
local sensor = device['plethora:sensor']
turtle.setMovementStrategy('goto')
while true do
local blocks = sensor.sense()
local mobs = Util.filterInplace(blocks, function(b)