mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
minor cleanup
This commit is contained in:
@@ -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:
|
||||
|
Reference in New Issue
Block a user