diff options
Diffstat (limited to 'source/game/StarWorldClient.cpp')
-rw-r--r-- | source/game/StarWorldClient.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/game/StarWorldClient.cpp b/source/game/StarWorldClient.cpp index 9e0478a..fba94f3 100644 --- a/source/game/StarWorldClient.cpp +++ b/source/game/StarWorldClient.cpp @@ -751,7 +751,7 @@ void WorldClient::handleIncomingPackets(List<PacketPtr> const& packets) { for (auto const& packet : packets) { if (!inWorld() && !is<WorldStartPacket>(packet)) - Logger::error("WorldClient received packet type {} while not in world", PacketTypeNames.getRight(packet->type())); + Logger::error("WorldClient received packet type {} while not in world", packet->typeName()); if (auto worldStartPacket = as<WorldStartPacket>(packet)) { initWorld(*worldStartPacket); |