File tree Expand file tree Collapse file tree
src/main/java/net/lenni0451/nolocalconnections Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -17,5 +17,5 @@ repositories {
1717}
1818
1919dependencies {
20- implementation " net.raphimc:ViaProxy:3.1.0-SNAPSHOT "
20+ implementation " net.raphimc:ViaProxy:3.2.2 "
2121}
Original file line number Diff line number Diff line change 11distributionBase =GRADLE_USER_HOME
22distributionPath =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
44zipStoreBase =GRADLE_USER_HOME
55zipStorePath =wrapper/dists
Original file line number Diff line number Diff 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 ) {
You can’t perform that action at this time.
0 commit comments