Code for 2.4.2-SNAPSHOT.

This commit is contained in:
Jitse Boonstra
2020-04-11 20:51:05 +02:00
parent e47dbc51d0
commit 8e661b024e
27 changed files with 38 additions and 28 deletions
+1 -1
View File
@@ -8,7 +8,7 @@
<parent>
<artifactId>npclib</artifactId>
<groupId>net.jitse</groupId>
<version>2.4.1-SNAPSHOT</version>
<version>2.4.2-SNAPSHOT</version>
</parent>
<artifactId>npclib-api</artifactId>
@@ -150,7 +150,7 @@ public abstract class TinyProtocol {
private void registerBukkitEvents() {
listener = new Listener() {
@EventHandler(priority = EventPriority.LOWEST)
@EventHandler(priority = EventPriority.MONITOR)
public final void onPlayerLogin(PlayerLoginEvent e) {
if (closed)
return;
@@ -248,7 +248,6 @@ public abstract class TinyProtocol {
channel.pipeline().addBefore("packet_handler", handlerName, interceptor);
uninjectedChannels.remove(channel);
}
return interceptor;
} catch (IllegalArgumentException e) {
// Try again