From 42395abe7537e45eee566004cfa9690f9a594f27 Mon Sep 17 00:00:00 2001 From: "Kristian S. Stangeland" Date: Mon, 14 Oct 2013 19:09:59 +0200 Subject: [PATCH] Add a small hint for plugin authors to the "unknown origin" error. --- .../comphenix/protocol/injector/packet/ProxyPacketInjector.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ProtocolLib/src/main/java/com/comphenix/protocol/injector/packet/ProxyPacketInjector.java b/ProtocolLib/src/main/java/com/comphenix/protocol/injector/packet/ProxyPacketInjector.java index f79e0444..22ef72dc 100644 --- a/ProtocolLib/src/main/java/com/comphenix/protocol/injector/packet/ProxyPacketInjector.java +++ b/ProtocolLib/src/main/java/com/comphenix/protocol/injector/packet/ProxyPacketInjector.java @@ -57,7 +57,7 @@ import com.comphenix.protocol.wrappers.WrappedIntHashMap; */ class ProxyPacketInjector implements PacketInjector { public static final ReportType REPORT_CANNOT_FIND_READ_PACKET_METHOD = new ReportType("Cannot find read packet method for ID %s."); - public static final ReportType REPORT_UNKNOWN_ORIGIN_FOR_PACKET = new ReportType("Unknown origin %s for packet %s."); + public static final ReportType REPORT_UNKNOWN_ORIGIN_FOR_PACKET = new ReportType("Unknown origin %s for packet %s. Are you using GamePhase.LOGIN?"); /** * Represents a way to update the packet ID to class lookup table.