From eca3b25307698c734a732d59bded1980b379caa7 Mon Sep 17 00:00:00 2001 From: Jeroen Van Goey Date: Wed, 1 Oct 2014 13:13:26 +0200 Subject: [PATCH] fix typos --- main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.py b/main.py index 6f962e33..06ac290f 100644 --- a/main.py +++ b/main.py @@ -158,7 +158,7 @@ def _initialize(self): y = 0 # initial y height for x in xrange(-n, n + 1, s): for z in xrange(-n, n + 1, s): - # create a layer stone an grass everywhere. + # create a layer of stone and grass everywhere. self.add_block((x, y - 2, z), GRASS, immediate=False) self.add_block((x, y - 3, z), STONE, immediate=False) if x in (-n, n) or z in (-n, n): @@ -214,7 +214,7 @@ def hit_test(self, position, vector, max_distance=8): return None, None def exposed(self, position): - """ Returns False is given `position` is surrounded on all 6 sides by + """ Returns False if given `position` is surrounded on all 6 sides by blocks, True otherwise. """