From bc86a12c57e8e36952f1927cd63f35b7024e4972 Mon Sep 17 00:00:00 2001 From: Leymooo Date: Wed, 12 Sep 2018 11:43:33 +0300 Subject: [PATCH] expand PreLoginComponentResult with force offline mode --- .../api/event/connection/PreLoginEvent.java | 25 ++++++++++++++++--- .../client/LoginSessionHandler.java | 2 +- 2 files changed, 23 insertions(+), 4 deletions(-) diff --git a/api/src/main/java/com/velocitypowered/api/event/connection/PreLoginEvent.java b/api/src/main/java/com/velocitypowered/api/event/connection/PreLoginEvent.java index ef8edfb9f..9d0620f8b 100644 --- a/api/src/main/java/com/velocitypowered/api/event/connection/PreLoginEvent.java +++ b/api/src/main/java/com/velocitypowered/api/event/connection/PreLoginEvent.java @@ -56,31 +56,41 @@ public class PreLoginEvent implements ResultedEvent