Skip to content

Commit 092a9c6

Browse files
committed
Updated to ViaProxy 3.2.2
1 parent 097bdf4 commit 092a9c6

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,5 @@ repositories {
1717
}
1818

1919
dependencies {
20-
implementation "net.raphimc:ViaProxy:3.1.0-SNAPSHOT"
20+
implementation "net.raphimc:ViaProxy:3.2.2"
2121
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-7.5.1-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-bin.zip
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists

src/main/java/net/lenni0451/nolocalconnections/Main.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ public void onEnable() {
1818
@EventHandler
1919
public void onEvent(PreConnectEvent event) {
2020
if (!(event.getServerAddress() instanceof InetSocketAddress socketAddress)) return;
21-
if (this.isLocal(socketAddress.getAddress())) event.setCancelMessage(CYou can't connect to any local address");
21+
if (this.isLocal(socketAddress.getAddress())) event.setCancelMessage(cYou can't connect to any local address");
2222
}
2323

2424
private boolean isLocal(final InetAddress address) {

0 commit comments

Comments
 (0)