diff --git a/paper-api/src/org/bukkit/event/player/PlayerLoginEvent.java b/paper-api/src/org/bukkit/event/player/PlayerLoginEvent.java index 65a989f589..e19475a94e 100644 --- a/paper-api/src/org/bukkit/event/player/PlayerLoginEvent.java +++ b/paper-api/src/org/bukkit/event/player/PlayerLoginEvent.java @@ -10,6 +10,12 @@ public class PlayerLoginEvent extends PlayerEvent { private Result result; 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) { super(type, player); this.result = result;