minor cleanup
This commit is contained in:
parent
1849693353
commit
07b9fcfefc
|
@ -7,6 +7,7 @@ from json import JSONEncoder, JSONDecoder
|
|||
|
||||
import websockets
|
||||
|
||||
from Utils import Version
|
||||
|
||||
class JSONMessagePart(typing.TypedDict):
|
||||
type: typing.Optional[str]
|
||||
|
@ -55,7 +56,6 @@ _encode = JSONEncoder(
|
|||
def encode(obj):
|
||||
return _encode(_scan_for_TypedTuples(obj))
|
||||
|
||||
from Utils import Version # for object hook
|
||||
whitelist = {"NetworkPlayer": NetworkPlayer,
|
||||
"NetworkItem": NetworkItem,
|
||||
"Version": Version}
|
||||
|
|
|
@ -701,9 +701,6 @@ def patch_rom(world, rom, player, team, enemized):
|
|||
|
||||
itemid = location.item.code if location.item is not None else 0x5A
|
||||
|
||||
if location.item.game != "A Link to the Past":
|
||||
itemid = itemid
|
||||
|
||||
if not location.crystal:
|
||||
|
||||
if location.item is not None:
|
||||
|
|
Loading…
Reference in New Issue