Add module for packet handlers and reload it

This commit is contained in:
2020-09-07 22:31:55 -06:00
parent 76d5609c26
commit db8d8d7b85
4 changed files with 18 additions and 9 deletions
+1 -1
View File
@@ -3,7 +3,7 @@ from custom.networking.packets.clientbound.play import chunk_data, block_change_
def get_packets(old_get_packets):
def wrapper(func, context):
print('Monkey-patched.')
print('Monkey-patch worked.')
packets = func(context)
# add any custom packets here