geforkt von Mirrors/AxiomPaperPlugin
Fix 1.19.3 AxiomBigPayloadHandler injection
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful
Dieser Commit ist enthalten in:
Ursprung
162bfc8fe2
Commit
610ba248ea
@ -26,7 +26,7 @@ import java.util.List;
|
||||
@ChannelHandler.Sharable
|
||||
public class AxiomBigPayloadHandler extends ChannelInboundHandlerAdapter {
|
||||
|
||||
private static final Reflection.Method<ConnectionProtocol, Integer> getPacketId = Reflection.getTypedMethod(ConnectionProtocol.class, int.class, PacketFlow.class, Packet.class);
|
||||
private static final Reflection.Method<ConnectionProtocol, Integer> getPacketId = Reflection.getTypedMethod(ConnectionProtocol.class, Reflection.VERSION > 1902 ? int.class : Integer.class, PacketFlow.class, Packet.class);
|
||||
private static final int PLUGINMESSAGE_PACKETID = getPacketId.invoke(ConnectionProtocol.PLAY, PacketFlow.SERVERBOUND, new ServerboundCustomPayloadPacket(null, null));
|
||||
|
||||
private final Player player;
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren