Skip to content

Commit

Permalink
fix: fix a bug of noop action
Browse files Browse the repository at this point in the history
  • Loading branch information
Zhoues committed Feb 8, 2024
1 parent 14c5c48 commit 7611c1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion minerl/herobraine/hero/spaces.py
Original file line number Diff line number Diff line change
Expand Up @@ -461,7 +461,7 @@ class Text(MineRLSpace):
self.observation_space = spaces.Text(1)
"""

def no_op(self):
def no_op(self, batch_shape=None):
return ""

def create_flattened_space(self):
Expand Down

0 comments on commit 7611c1a

Please sign in to comment.