Skip to content

Commit 50f81eb

Browse files
committed
Missed some merge conflicts T-T
1 parent 205beac commit 50f81eb

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

dforblock-hytale/src/main/kotlin/dev/forb/dforblock/hytale/DForBlockHytalePlugin.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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...")

dforblock-papermc/src/main/kotlin/dev/forb/dforblock/papermc/PaperCommunicator.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import kotlin.coroutines.resume
1313

1414
class 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

0 commit comments

Comments
 (0)