Core: Added a leading 0 to classification.as_flag #5291
This commit is contained in:
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user