Skip to content

Commit

Permalink
a
Browse files Browse the repository at this point in the history
  • Loading branch information
Nopock committed Nov 2, 2023
1 parent b3a58b6 commit 927ff7e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ object FrameworkGRPCClient {
@Inject
lateinit var minecraftPlatform: IMinecraftPlatform

@Configure
fun configure()
{
val client = ManagedChannelBuilder
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ import net.revive.framework.controller.FrameworkObjectControllerCache
import net.revive.framework.disguise.FrameworkDisguiseHandler
import net.revive.framework.disguise.IDisguiseHandler
import net.revive.framework.flavor.FlavorBinder
import net.revive.framework.grpc.FrameworkGRPCClient
import net.revive.framework.grpc.health.PodHeartbeatThread
import net.revive.framework.item.FrameworkItemStack
import net.revive.framework.item.IItemStackProvider
Expand Down Expand Up @@ -111,6 +112,7 @@ class PaperFrameworkPlugin : ExtendedKotlinPlugin() {
framework.flavor.bind<IVisibilityHandler>() to FrameworkVisiblityHandler()
}

FrameworkGRPCClient.configure()

Tasks.asyncTimer(2L, 2L) {
PaperMinecraftPlatform.getOnlinePlayers().forEach {
Expand Down

0 comments on commit 927ff7e

Please sign in to comment.