Skip to content

Commit

Permalink
ref(chunk): raise errors without arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
emptybutton committed Dec 29, 2024
1 parent 405736a commit 0194ba9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pixel_battle/entities/core/chunk.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def __post_init__(self) -> None:
is_y_valid = 0 <= self.y <= ChunkNumber.max_y

if not is_x_valid or not is_y_valid:
raise ExtremeChunkNumberValuesError(self)
raise ExtremeChunkNumberValuesError


def chunk_where(position: Vector) -> Chunk:
Expand Down

0 comments on commit 0194ba9

Please sign in to comment.