File tree Expand file tree Collapse file tree 3 files changed +6
-5
lines changed
java/net/lenni0451/multilaunch Expand file tree Collapse file tree 3 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ plugins {
22 id " java"
33}
44
5- java. toolchain. languageVersion = JavaLanguageVersion . of(8 )
5+ java. toolchain. languageVersion = JavaLanguageVersion . of(17 )
66compileJava. options. encoding = compileTestJava. options. encoding = javadoc. options. encoding = " UTF-8"
77
88archivesBaseName = project. maven_name
@@ -18,10 +18,10 @@ repositories {
1818 }
1919 maven {
2020 name = " ViaVersion"
21- url " https://repo.viaversion.com"
21+ url = " https://repo.viaversion.com/ "
2222 }
2323}
2424
2525dependencies {
26- compileOnly " net.raphimc:ViaProxy:3.0.14 "
26+ compileOnly " net.raphimc:ViaProxy:3.0.22 "
2727}
Original file line number Diff line number Diff line change 22
33import joptsimple .OptionSpec ;
44import net .lenni0451 .lambdaevents .EventHandler ;
5- import net .raphimc .viaproxy .plugins . PluginManager ;
5+ import net .raphimc .viaproxy .ViaProxy ;
66import net .raphimc .viaproxy .plugins .ViaProxyPlugin ;
77import net .raphimc .viaproxy .plugins .events .ConsoleCommandEvent ;
88import net .raphimc .viaproxy .plugins .events .PostOptionsParseEvent ;
@@ -19,7 +19,7 @@ public class Main extends ViaProxyPlugin {
1919
2020 @ Override
2121 public void onEnable () {
22- PluginManager .EVENT_MANAGER .register (this );
22+ ViaProxy .EVENT_MANAGER .register (this );
2323 }
2424
2525 @ EventHandler
Original file line number Diff line number Diff line change @@ -2,3 +2,4 @@ name: "MultiLaunch"
22version : " 1.0.0"
33author : " Lenni0451"
44main : " net.lenni0451.multilaunch.Main"
5+ min-version : " 3.0.22"
You can’t perform that action at this time.
0 commit comments