Fix round-tripping of unlock bitfields when top bit is set.
This commit is contained in:
parent
c61d08a554
commit
0a66695eeb
@ -1,5 +1,6 @@
|
||||
# vim: set fileencoding=utf-8
|
||||
import random
|
||||
import struct
|
||||
from typing import Dict, Iterable, List, Optional, Set, Tuple
|
||||
from typing_extensions import Final
|
||||
|
||||
@ -366,4 +367,4 @@ class JubeatBase(CoreHandler, CardManagerHandler, PASELIHandler, Base):
|
||||
|
||||
items_list[bucket] |= offset
|
||||
|
||||
return items_list
|
||||
return [struct.unpack("i", struct.pack("I", item))[0] for item in items_list]
|
||||
|
Loading…
x
Reference in New Issue
Block a user