Compare commits

..

2 Commits

Author SHA1 Message Date
8ced2d8d5e Add instructions for git 2021-01-05 06:15:12 +00:00
3364317b2e Fix farming bug 2021-01-05 06:14:58 +00:00
2 changed files with 4 additions and 2 deletions

View File

@ -6,8 +6,10 @@ Assuming Debian / Ubuntu based distro:
```
$ sudo apt update
$ sudo apt install build-essential python3 python3-dev python3-pip python-virtualenv python3-virtualenv
$ sudo apt install build-essential python3 python3-dev python3-pip python-virtualenv python3-virtualenv git
$ git clone https://git.tannercollin.com/tanner/minecraft-bot.git
$ cd minecraft-bot/
$ bash download_mcdata.sh
$ virtualenv -p python3 env
$ source env/bin/activate

View File

@ -167,7 +167,7 @@ class GatherCropStates:
self.g.look_at = utils.padd(self.crop, path.BLOCK_BELOW)
self.state = self.going_to_crop
else:
self.bad_crops.append(crop)
self.bad_crops.append(self.crop)
self.state = self.find_new_crop
def going_to_crop(self):