changed stuff for whitelistkick
This commit is contained in:
1 parent
6100adaf93
commit
1a70fd4fd4
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -45,7 +45,7 @@ dependencies {
|
||||
// MySQL
|
||||
runtimeOnly("mysql:mysql-connector-java:8.0.23")
|
||||
// ShutdownInfo
|
||||
compileOnly("org.example:ShutdownInfo:1.0-SNAPSHOT")
|
||||
compileOnly("com.alttd:ShutdownInfo:1.0")
|
||||
}
|
||||
|
||||
tasks {
|
||||
|
||||
@@ -21,7 +21,7 @@ public class WhitelistKick {
|
||||
DiscordLink.getPlugin().getCache()
|
||||
.cacheCode(player.getUniqueId(), authCode);
|
||||
|
||||
event.appendTemplates(Template.of("code", authCode));
|
||||
event.appendTemplate(Template.of("code", authCode));
|
||||
event.appendMessage("\n\n" + Config.WHITELIST_LINK_MESSAGE);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user