mirror of
https://github.com/dmulloy2/ProtocolLib.git
synced 2024-11-14 22:56:32 +01:00
fix invalid packet id setting (#1629)
This commit is contained in:
parent
d7bf43001f
commit
250f94e9cd
@ -317,25 +317,25 @@ public class PacketType implements Serializable, Cloneable, Comparable<PacketTyp
|
||||
* @deprecated Removed in 1.19
|
||||
*/
|
||||
@Deprecated
|
||||
public static final PacketType SPAWN_ENTITY_LIVING = new PacketType(PROTOCOL, SENDER, 246, "SpawnEntityLiving", "SPacketSpawnMob");
|
||||
public static final PacketType SPAWN_ENTITY_LIVING = new PacketType(PROTOCOL, SENDER, 244, "SpawnEntityLiving", "SPacketSpawnMob");
|
||||
|
||||
/**
|
||||
* @deprecated Removed in 1.19
|
||||
*/
|
||||
@Deprecated
|
||||
public static final PacketType SPAWN_ENTITY_PAINTING = new PacketType(PROTOCOL, SENDER, 247, "SpawnEntityPainting", "SPacketSpawnPainting");
|
||||
public static final PacketType SPAWN_ENTITY_PAINTING = new PacketType(PROTOCOL, SENDER, 243, "SpawnEntityPainting", "SPacketSpawnPainting");
|
||||
|
||||
/**
|
||||
* @deprecated Removed in 1.19
|
||||
*/
|
||||
@Deprecated
|
||||
public static final PacketType ADD_VIBRATION_SIGNAL = new PacketType(PROTOCOL, SENDER, 248, "AddVibrationSignal");
|
||||
public static final PacketType ADD_VIBRATION_SIGNAL = new PacketType(PROTOCOL, SENDER, 242, "AddVibrationSignal");
|
||||
|
||||
/**
|
||||
* @deprecated Removed in 1.19
|
||||
*/
|
||||
@Deprecated
|
||||
public static final PacketType BLOCK_BREAK = new PacketType(PROTOCOL, SENDER, 249, "BlockBreak");
|
||||
public static final PacketType BLOCK_BREAK = new PacketType(PROTOCOL, SENDER, 241, "BlockBreak");
|
||||
|
||||
private final static Server INSTANCE = new Server();
|
||||
|
||||
|
@ -55,7 +55,7 @@ public class PacketFilterManager implements ListenerInvoker, InternalManager {
|
||||
|
||||
// listener registration reports
|
||||
private static final ReportType UNSUPPORTED_PACKET = new ReportType(
|
||||
"Plugin %s tried to register listener for unknown packet %s [direction: to %s]");
|
||||
"Plugin %s tried to register listener for unknown packet %s [direction: from %s]");
|
||||
|
||||
// bukkit references
|
||||
private final Plugin plugin;
|
||||
|
Loading…
Reference in New Issue
Block a user