Add module for packet handlers and reload it
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user