Update tests to match new API.
This commit is contained in:
1 parent
c8b3e7a809
commit
3ff7662684
7 files changed
+85
-62
No files matched your search
@@ -401,6 +401,10 @@ class PlayerListItemPacket(Packet):
|
||||
self.uuid = UUID.read(file_object)
|
||||
self._read(file_object)
|
||||
|
||||
def _read(self, file_object):
|
||||
raise NotImplementedError(
|
||||
'This abstract method must be overridden in a subclass.')
|
||||
|
||||
@classmethod
|
||||
def type_from_id(cls, action_id):
|
||||
subcls = {
|
||||
|
||||
Reference in new issue
Block a user