Skip to content

Commit 14c6bc3

Browse files
committed
[AutoRestart] Add protected modifier to internal members
1 parent b816773 commit 14c6bc3

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

common/src/main/kotlin/io/github/rothes/esu/common/module/AbstractAutoRestartModule.kt

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,11 @@ abstract class AbstractAutoRestartModule: CommonModule<AbstractAutoRestartModule
4242

4343
val isRestarting: Boolean
4444
get() = _isRestarting
45-
abstract val consoleUser: User
46-
abstract val rootCommand: String
47-
abstract val rootCommandAlias: String
48-
abstract fun runCommands()
45+
46+
protected abstract val consoleUser: User
47+
protected abstract val rootCommand: String
48+
protected abstract val rootCommandAlias: String
49+
protected abstract fun runCommands()
4950

5051
override fun doReload() {
5152
data = ConfigLoader.load(dataPath)

0 commit comments

Comments
 (0)