We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f4d4ddd commit ec49c9bCopy full SHA for ec49c9b
balrog/environments/crafter/env.py
@@ -112,7 +112,7 @@ def describe_env(info):
112
target_y = center[1] + facing[1]
113
114
if 0 <= target_x < max_x and 0 <= target_y < max_y:
115
- target_id = semantic[int(target_y), int(target_x)]
+ target_id = semantic[int(target_x), int(target_y)]
116
target_item = id_to_item[target_id]
117
obs = "You face {} at your front.".format(target_item)
118
else:
0 commit comments