mirror of
https://github.com/dmulloy2/ProtocolLib.git
synced 2025-02-04 22:51:32 +01:00
Corrected a bug in a PacketAdapter constructor discovered by Folipurba.
This commit is contained in:
parent
0b292af3b1
commit
5bb6f7649a
@ -104,7 +104,7 @@ public abstract class PacketAdapter implements PacketListener {
|
||||
* @param packets - the packet IDs the listener is looking for.
|
||||
*/
|
||||
public PacketAdapter(Plugin plugin, ConnectionSide connectionSide, GamePhase gamePhase, Integer... packets) {
|
||||
this(plugin, connectionSide, ListenerPriority.NORMAL, GamePhase.PLAYING, packets);
|
||||
this(plugin, connectionSide, ListenerPriority.NORMAL, gamePhase, packets);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user