diff --git a/aiocraft/mc/definitions.py b/aiocraft/mc/definitions.py index 5a41161..8fecd36 100644 --- a/aiocraft/mc/definitions.py +++ b/aiocraft/mc/definitions.py @@ -23,7 +23,7 @@ class BlockPos: return repr(self) def __hash__(self) -> int: - return hash(repr(self)) # TODO VERY cheap hack but Cantor pairing or hash combining is not something I want to get into now + return hash(self.to_tuple()) @classmethod def from_tuple(cls, t:Tuple[float, float, float]):