File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed
voicechat/src/main/java/net/labymod/serverapi/integration/voicechat Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -45,13 +45,12 @@ subprojects {
4545 }
4646 repositories {
4747 mavenCentral()
48- maven(" https://dist.labymod.net/api/v1/maven/release/" )
4948 mavenLocal()
5049 }
5150
5251 dependencies {
5352 compileOnly(" org.jetbrains:annotations:22.0.0" )
54- implementation (" net.labymod.serverapi:core:0.1.9 " )
53+ compileOnly (" net.labymod.serverapi:core:0.1.12 " )
5554 compileOnly(" com.google.auto.service:auto-service:1.1.1" )
5655 annotationProcessor(" com.google.auto.service:auto-service:1.1.1" )
5756 }
Original file line number Diff line number Diff line change @@ -48,6 +48,10 @@ public class VoiceChatIntegration implements LabyModProtocolIntegration {
4848
4949 @ Override
5050 public void initialize (AbstractLabyModProtocolService protocolService ) {
51+ if (this .protocolService != null ) {
52+ throw new IllegalStateException ("VoiceChatIntegration is already initialized" );
53+ }
54+
5155 this .protocolService = protocolService ;
5256
5357 this .addonProtocol = new AddonProtocol (protocolService , "voicechat" );
You can’t perform that action at this time.
0 commit comments