currently refactoring a lot
This commit is contained in:
parent
31eb8a92eb
commit
ea6ae529cc
32 changed files with 205 additions and 185 deletions
|
|
@ -24,9 +24,9 @@ dependencies {
|
|||
api("com.velocitypowered:velocity-api:3.5.0-SNAPSHOT")
|
||||
|
||||
// http://forge.kentoj.de/scrow/-/packages/maven/de.kentoj.scrow:kencommandapi-core
|
||||
api("de.kentoj.scrow:kencommandapi-core:0.23")
|
||||
api("de.kentoj.scrow:kencommandapi-core:0.28")
|
||||
// http://forge.kentoj.de/scrow/-/packages/maven/de.kentoj.scrow:kencommandapi-velocity
|
||||
api("de.kentoj.scrow:kencommandapi-velocity:0.23")
|
||||
api("de.kentoj.scrow:kencommandapi-velocity:0.28")
|
||||
}
|
||||
|
||||
publishing {
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@ package de.kentoj.scrow.velocity;
|
|||
|
||||
import de.kentoj.kencommandapi.CommandAPI;
|
||||
import de.kentoj.scrowlib.instancemanager.InstanceManager;
|
||||
import io.nats.client.Connection;
|
||||
import de.kentoj.scrowlib.messaging.MessageBroker;
|
||||
import lombok.AccessLevel;
|
||||
import lombok.Getter;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
|
@ -17,7 +17,7 @@ public class ScrowAPI {
|
|||
@Getter
|
||||
private static CommandAPI commandApi;
|
||||
@Getter
|
||||
private static Connection nats;
|
||||
private static MessageBroker messageBroker;
|
||||
@Getter
|
||||
private static InstanceManager instanceManager;
|
||||
|
||||
|
|
@ -27,8 +27,8 @@ public class ScrowAPI {
|
|||
}
|
||||
|
||||
@ApiStatus.Internal
|
||||
public static void setNats(Connection nats) {
|
||||
ScrowAPI.nats = nats;
|
||||
public static void setMessageBroker(MessageBroker messageBroker) {
|
||||
ScrowAPI.messageBroker = messageBroker;
|
||||
}
|
||||
|
||||
@ApiStatus.Internal
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue