aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan200101 <sentrycraft123@gmail.com>2022-10-20 08:03:07 +0200
committerJan200101 <sentrycraft123@gmail.com>2022-10-20 08:03:07 +0200
commitc91f5a002dca8136f2724a51f3b210962752249f (patch)
tree7b6b101e6a51d79e3734639012676e8d7e0d4555
parenta482c4db509bd2d1bf1fda0ff20c71e93478fd58 (diff)
downloadBerryClient-c91f5a002dca8136f2724a51f3b210962752249f.tar.gz
BerryClient-c91f5a002dca8136f2724a51f3b210962752249f.zip
correct brick to be brick block
-rw-r--r--BerryClient/addons/blockworld.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/BerryClient/addons/blockworld.py b/BerryClient/addons/blockworld.py
index 958e61a..0de9f2c 100644
--- a/BerryClient/addons/blockworld.py
+++ b/BerryClient/addons/blockworld.py
@@ -6,7 +6,7 @@ from BerryClient.models.House import House
MATERIAL_MAPPING = {
"air": mcpi.block.AIR,
"stone": mcpi.block.STONE,
- "brick": mcpi.block.STONE_BRICK,
+ "brick": mcpi.block.BRICK_BLOCK,
}
class BlockWorld:
@@ -35,6 +35,9 @@ class BlockWorld:
@command()
def b(core):
+ """
+ Builds a house
+ """
bw = BlockWorld(core)
h = House(bw.player_position(), bw)