Skip to content

Commit e843d4f

Browse files
author
minecraft server
committed
Removed stupid extra constants that aren't used anywhere.
1 parent 0b09448 commit e843d4f

File tree

1 file changed

+1
-12
lines changed

1 file changed

+1
-12
lines changed

packet_decoder.py

+1-12
Original file line numberDiff line numberDiff line change
@@ -4,21 +4,10 @@
44
import sys
55

66
#TODO: Review which of these we actually need
7-
NODE_SERVER = 0x01
87
SERVER_TO_CLIENT = 0x01
9-
FROM_SERVER = 0x01
10-
TO_CLIENT = 0x01
11-
12-
NODE_CLIENT = 0x02
138
CLIENT_TO_SERVER = 0x02
14-
FROM_CLIENT = 0x02
15-
TO_SERVER = 0x02
16-
17-
EVENT_CLIENT_CONNECT = 0x00
18-
EVENT_CLIENT_DISCONNECT = 0x01
19-
EVENT_SERVER_DISCONNECT = 0x02
209

21-
PROTOCOL_VERSION = 23
10+
PROTOCOL_VERSION = 28
2211

2312
class Packet:
2413
def __init__(self):

0 commit comments

Comments
 (0)