From 5ac47e0fdd32240857545b8d8cdb407dd591ea42 Mon Sep 17 00:00:00 2001 From: Szczurowsky Date: Sat, 23 Oct 2021 21:21:08 +0200 Subject: [PATCH] Change project structure into grouped packets type as modules --- mcnetworking/packets/serverbound/handshake/__init__.py | 0 .../serverbound/{Handshake.py => handshake/handshake.py} | 0 tests/test_handshake.py | 2 +- 3 files changed, 1 insertion(+), 1 deletion(-) create mode 100644 mcnetworking/packets/serverbound/handshake/__init__.py rename mcnetworking/packets/serverbound/{Handshake.py => handshake/handshake.py} (100%) diff --git a/mcnetworking/packets/serverbound/handshake/__init__.py b/mcnetworking/packets/serverbound/handshake/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/mcnetworking/packets/serverbound/Handshake.py b/mcnetworking/packets/serverbound/handshake/handshake.py similarity index 100% rename from mcnetworking/packets/serverbound/Handshake.py rename to mcnetworking/packets/serverbound/handshake/handshake.py diff --git a/tests/test_handshake.py b/tests/test_handshake.py index 9380420..c1e084e 100644 --- a/tests/test_handshake.py +++ b/tests/test_handshake.py @@ -1,5 +1,5 @@ import unittest -from mcnetworking.packets.serverbound.Handshake import Handshake +from mcnetworking.packets.serverbound.handshake.handshake import Handshake class TestHandshake(unittest.TestCase):