mirror of
https://github.com/ammaraskar/pyCraft.git
synced 2025-01-03 06:28:17 +01:00
fix tox -e pylint-errors
This commit is contained in:
parent
fdb5a0bb72
commit
9ab2e1ae69
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user