File tree Expand file tree Collapse file tree
dforblock-hytale/src/main/kotlin/dev/forb/dforblock/hytale
dforblock-papermc/src/main/kotlin/dev/forb/dforblock/papermc Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ class DForBlockHytalePlugin(init: JavaPluginInit) : JavaPlugin(init) {
4545 private set
4646 }
4747
48- var dForBlockOrchestrator: DForBlock ? = null
48+ var dForBlockOrchestrator: DForBlockOrchestrator ? = null
4949 private set
5050 var communicator: IBlockyCommunicator ? = null
5151 private set
@@ -81,7 +81,7 @@ class DForBlockHytalePlugin(init: JavaPluginInit) : JavaPlugin(init) {
8181 configManager = configManager!! ,
8282 )
8383
84- dForBlockOrchestrator = DForBlock (
84+ dForBlockOrchestrator = DForBlockOrchestrator (
8585 configManager ? : run {
8686 hytaleLogger.at(Level .SEVERE )
8787 .log(" Unexpected state, 'configManager is null' while creating dforBlock..." )
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ import kotlin.coroutines.resume
1313
1414class PaperCommunicator (
1515 override val configDir : Path ,
16- override val isLuckperms : Boolean ,
16+ override val isLuckperms : () -> Boolean ,
1717 val plugin : DForBlockPaper
1818) : IBlockyCommunicator {
1919 override fun stopServer () = plugin.server.shutdown()
@@ -53,7 +53,7 @@ class PaperCommunicator(
5353 val channelName =
5454 plugin.configManager?.channels?.entries?.firstOrNull { (_, v) -> v.channelId == payload.channelId }?.key
5555 ? : return
56- val kyoriComponent = prepareMinecraftMiniMessage (payload, channelName, template)
56+ val kyoriComponent = prepareMiniMessage (payload, channelName, template)
5757 plugin.server.sendMessage(kyoriComponent)
5858 }
5959
You can’t perform that action at this time.
0 commit comments