fix tox -e pylint-errors

This commit is contained in:
TheSnoozer 2017-08-05 01:52:03 +02:00 committed by joo
parent fdb5a0bb72
commit 9ab2e1ae69

View File

@ -866,17 +866,6 @@ class ClientExplosion(Packet):
def __str__(self):
return self.__repr__()
class Explosion(object):
__slots__ = ('x', 'y', 'z', 'radius', 'records',
'player_motion_x', 'player_motion_y', 'player_motion_z')
def __repr__(self):
return ('Explosion(x=%s, y=%s, z=%s, radius=%s, records=%s)' % (
self.x, self.y, self.z, self.radius, self.records))
def __str__(self):
return self.__repr__()
def read(self, file_object):
self.x = Float.read(file_object)
self.y = Float.read(file_object)