We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 201bec6 commit 3fc04a9Copy full SHA for 3fc04a9
tests/render_test/render.py
@@ -25,7 +25,7 @@ def handle_packet(self, packet: flat.GamePacket):
25
26
radius = 0
27
if len(packet.balls) > 0:
28
- match packet.balls[0].shape.item:
+ match packet.balls[0].shape:
29
case flat.SphereShape() | flat.CylinderShape() as shape:
30
radius = shape.diameter / 2
31
case flat.BoxShape() as shape:
0 commit comments