Skip to content

Commit 417671d

Browse files
committed
Fix spam; fix #112
1 parent 2c6ae79 commit 417671d

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ println("GitVersion = $gitVersion")
4747
println("LpGVersion = $gitLpVersion")
4848

4949
// [LP-Mirai version]-[LuckPerms version]
50-
def lpMiraiVer = '2.10.0-dev-5'
50+
def lpMiraiVer = '2.10.0-dev-6'
5151
def ver = lpMiraiVer + '+' + lpVersion
5252

5353
allprojects {

src/main/kotlin/io/github/karlatemp/luckperms/mirai/LPMiraiPlugin.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ import net.mamoe.mirai.console.permission.PermitteeId.Companion.permitteeId
6262
import net.mamoe.mirai.console.util.ConsoleExperimentalApi
6363
import net.mamoe.mirai.contact.Friend
6464
import net.mamoe.mirai.message.data.*
65+
import net.mamoe.mirai.utils.info
6566
import java.io.IOException
6667
import java.nio.file.Files
6768
import java.nio.file.Path
@@ -356,6 +357,7 @@ object LPMiraiPlugin : AbstractLuckPermsPlugin() {
356357
}
357358

358359
override fun performFinalSetup() {
360+
LPMiraiBootstrap.logger.info { "Registering internal users...." }
359361
connectionListener0.loadInternalUsers()
360362
}
361363
}

src/main/kotlin/io/github/karlatemp/luckperms/mirai/MiraiConnectionListener.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@ class MiraiConnectionListener : AbstractConnectionListener(LPMiraiPlugin) {
5151
LPMiraiBootstrap.logger.debug { "Registered $name with $uid" }
5252
}
5353
}
54-
LPMiraiBootstrap.logger.info { "Registering internal users...." }
5554
rec(UUID_ANY_MEMBER_SELECTOR, "MemberSelector")
5655
rec(UUID_ANY_GROUP_SELECTOR, "GroupSelector")
5756
rec(UUID_ANY_CONTEXT_SELECTOR, "ContextSelector")

0 commit comments

Comments
 (0)