1 Commits
Author SHA1 Message Date
Dylan Keir 41ff3f412c (2.5.6) re-introduce PreLoginEvent 2022-02-02 18:52:53 +00:00
5 changed files with 10 additions and 10 deletions

No files matched your search

+2 -2
View File
@@ -26,7 +26,7 @@ plugins {
// --
// Variables
// --
version = '2.5.5'
version = '2.5.6'
group = 'net.tcpshield.tcpshield'
archivesBaseName = 'TCPShield'
@@ -109,7 +109,7 @@ dependencies {
// Testing
testImplementation group: 'org.junit.jupiter', name: 'junit-jupiter-api', version: '5.7.0-M1'
testRuntimeOnly group: 'org.junit.jupiter', name: 'junit-jupiter-engine', version: '5.7.0-M1'
compileOnly 'org.geysermc.floodgate:api:2.0-SNAPSHOT'
compileOnly 'org.geysermc.floodgate:api:2.1.1-SNAPSHOT'
}
processResources {
@@ -23,11 +23,11 @@ public class VelocityHandshakeHandler {
// Turns out this event sometimes passes erroneous hostnames
// which have the null bytes terminated as FML data which causes
// issues with the verification process.
// @Subscribe(order = PostOrder.FIRST)
// public void onPreLogin(PreLoginEvent e) {
// InboundConnection connection = e.getConnection();
// handleEvent(connection, "onPreLogin");
// }
@Subscribe(order = PostOrder.FIRST)
public void onPreLogin(PreLoginEvent e) {
InboundConnection connection = e.getConnection();
handleEvent(connection, "onPreLogin");
}
@Subscribe(order = PostOrder.FIRST)
public void onHandshake(ConnectionHandshakeEvent e) {
+1 -1
View File
@@ -1,5 +1,5 @@
name: TCPShield
version: 2.5.5
version: 2.5.6
main: net.tcpshield.tcpshield.bungee.TCPShieldBungee
author: https://tcpshield.com
softdepends:
+1 -1
View File
@@ -1,5 +1,5 @@
name: TCPShield
version: 2.5.5
version: 2.5.6
main: net.tcpshield.tcpshield.bukkit.TCPShieldBukkit
softdepend:
- ProtocolLib
+1 -1
View File
@@ -1,7 +1,7 @@
{
"id": "tcpshield",
"name": "TCPShield",
"version": "2.5.5",
"version": "2.5.6",
"description": "TCPShield IP parsing capabilities for Velocity",
"authors": [
"TCPShield"