mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
add license command to client to have MIT compliant compiled client possible
This commit is contained in:
@@ -751,7 +751,9 @@ async def console_loop(ctx : Context):
|
|||||||
snes_buffered_write(ctx, RECV_ITEM_PLAYER_ADDR, bytes([0]))
|
snes_buffered_write(ctx, RECV_ITEM_PLAYER_ADDR, bytes([0]))
|
||||||
else:
|
else:
|
||||||
logging.info('Invalid item: ' + item)
|
logging.info('Invalid item: ' + item)
|
||||||
|
if command[0] == "/license":
|
||||||
|
with open("LICENSE") as f:
|
||||||
|
logging.info(f.read())
|
||||||
await snes_flush_writes(ctx)
|
await snes_flush_writes(ctx)
|
||||||
|
|
||||||
def get_item_name_from_id(code):
|
def get_item_name_from_id(code):
|
||||||
|
Reference in New Issue
Block a user