Corrected a bug in a PacketAdapter constructor discovered by Folipurba.
Dieser Commit ist enthalten in:
Ursprung
0b292af3b1
Commit
5bb6f7649a
@ -104,7 +104,7 @@ public abstract class PacketAdapter implements PacketListener {
|
|||||||
* @param packets - the packet IDs the listener is looking for.
|
* @param packets - the packet IDs the listener is looking for.
|
||||||
*/
|
*/
|
||||||
public PacketAdapter(Plugin plugin, ConnectionSide connectionSide, GamePhase gamePhase, Integer... packets) {
|
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);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren