Core: Added a leading 0 to classification.as_flag #5291

This commit is contained in:
Ishigh1
2025-08-04 14:19:51 +02:00
committed by GitHub
parent 84c2d70d9a
commit e6d2d8f455

View File

@@ -1571,7 +1571,7 @@ class ItemClassification(IntFlag):
def as_flag(self) -> int: def as_flag(self) -> int:
"""As Network API flag int.""" """As Network API flag int."""
return int(self & 0b0111) return int(self & 0b00111)
class Item: class Item: