Fix force login events being sync instead of async (Fixes #278)

This commit is contained in:
games647
2019-11-09 13:57:12 +01:00
parent 94c5fe302e
commit 2c7e569653
4 changed files with 9 additions and 5 deletions

View File

@ -115,8 +115,8 @@
<dependency>
<groupId>com.github.ProtocolSupport</groupId>
<artifactId>ProtocolSupport</artifactId>
<!--4.29.dev-->
<version>a030da05d5</version>
<!--4.29.dev after commit about API improvements-->
<version>3a80c661fe</version>
<scope>provided</scope>
</dependency>
@ -124,7 +124,7 @@
<dependency>
<groupId>me.clip</groupId>
<artifactId>placeholderapi</artifactId>
<version>2.8.5</version>
<version>2.10.3</version>
<scope>provided</scope>
<optional>true</optional>
<exclusions>

View File

@ -15,6 +15,8 @@ public class BukkitFastLoginAutoLoginEvent extends Event implements FastLoginAut
private boolean cancelled;
public BukkitFastLoginAutoLoginEvent(LoginSession session, StoredProfile profile) {
super(true);
this.session = session;
this.profile = profile;
}

View File

@ -15,6 +15,7 @@ public class BukkitFastLoginPreLoginEvent extends Event implements FastLoginPreL
public BukkitFastLoginPreLoginEvent(String username, LoginSource source, StoredProfile profile) {
super(true);
this.username = username;
this.source = source;
this.profile = profile;

View File

@ -21,8 +21,9 @@
<!-- Set default for non-git clones -->
<git.commit.id>Unknown</git.commit.id>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
<java.version>1.8</java.version>
<maven.compiler.source>${java.version}</maven.compiler.source>
<maven.compiler.target>${java.version}</maven.compiler.target>
</properties>
<modules>