Archiviert
13
0

Corrected a bug in a PacketAdapter constructor discovered by Folipurba.

Dieser Commit ist enthalten in:
Kristian S. Stangeland 2012-11-11 06:04:08 +01:00
Ursprung 0b292af3b1
Commit 5bb6f7649a

Datei anzeigen

@ -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);
}
/**