Skip to content

Commit

Permalink
Pleasew ork
Browse files Browse the repository at this point in the history
  • Loading branch information
Nopock committed Nov 2, 2023
1 parent 9b80f7a commit 63cbd42
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ object FrameworkGRPCClient {

PodHeartbeatThread.apply {
Framework.use {
it.flavor.inject(this)
start()
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import net.revive.framework.flavor.service.Service
import net.revive.framework.protocol.*
import net.revive.framework.server.IMinecraftPlatform

@Service
object PodHeartbeatThread : Thread("Framework-Pod Health Reporter") {

@Inject
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,6 @@ class PaperFrameworkPlugin : ExtendedKotlinPlugin() {
Framework.supply(PaperFramework) {
it.flavor = flavor()

it.flavor.inject(PodHeartbeatThread)

if (it.serializer is GsonSerializer) {
GsonFactory.applyPlatformChanges()
(it.serializer as GsonSerializer).useGsonBuilderThenRebuild { gson ->
Expand Down

0 comments on commit 63cbd42

Please sign in to comment.