Remove redundant module reloads
This commit is contained in:
@@ -28,19 +28,12 @@ from protocol.types import Slot
|
||||
import print_help
|
||||
|
||||
import utils
|
||||
importlib.reload(utils)
|
||||
import path
|
||||
importlib.reload(path)
|
||||
import blocks
|
||||
importlib.reload(blocks)
|
||||
import items
|
||||
importlib.reload(items)
|
||||
import mcdata
|
||||
importlib.reload(mcdata)
|
||||
import mobs
|
||||
importlib.reload(mobs)
|
||||
import bot
|
||||
importlib.reload(bot)
|
||||
|
||||
class MCWorld:
|
||||
def __init__(self, global_state):
|
||||
@@ -506,11 +499,12 @@ class Game:
|
||||
else: # for
|
||||
reply = 'command not found'
|
||||
else:
|
||||
print()
|
||||
print()
|
||||
for line in print_help.HELP_LINES:
|
||||
print(line)
|
||||
reply = 'check console'
|
||||
|
||||
|
||||
## !ping - replies with "pong"
|
||||
if command == 'ping':
|
||||
reply = 'pong'
|
||||
|
||||
Reference in New Issue
Block a user