Additional constructor for PlayerLoginEvent
This commit is contained in:
parent
f9058e5161
commit
0a9d59291f
@ -10,6 +10,12 @@ public class PlayerLoginEvent extends PlayerEvent {
|
|||||||
private Result result;
|
private Result result;
|
||||||
private String message;
|
private String message;
|
||||||
|
|
||||||
|
public PlayerLoginEvent(final Type type, final Player player) {
|
||||||
|
super(type, player);
|
||||||
|
this.result = Result.ALLOWED;
|
||||||
|
this.message = "";
|
||||||
|
}
|
||||||
|
|
||||||
public PlayerLoginEvent(final Type type, final Player player, final Result result, final String message) {
|
public PlayerLoginEvent(final Type type, final Player player, final Result result, final String message) {
|
||||||
super(type, player);
|
super(type, player);
|
||||||
this.result = result;
|
this.result = result;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user