Archiviert
13
0

Add a small hint for plugin authors to the "unknown origin" error.

Dieser Commit ist enthalten in:
Kristian S. Stangeland 2013-10-14 19:09:59 +02:00
Ursprung 73804d45df
Commit 42395abe75

Datei anzeigen

@ -57,7 +57,7 @@ import com.comphenix.protocol.wrappers.WrappedIntHashMap;
*/ */
class ProxyPacketInjector implements PacketInjector { 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_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. * Represents a way to update the packet ID to class lookup table.