[+] Update to Spigot API 1.17.1

This commit is contained in:
Matias Zwinger
2021-07-09 23:08:32 +03:00
parent e89422cf17
commit a207582985
3 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -5,7 +5,7 @@ plugins {
}
group = 'org.hydev.kt'
version = '1.0-SNAPSHOT'
version = '1.1-SNAPSHOT'
repositories {
mavenCentral()
@@ -16,7 +16,7 @@ repositories {
}
dependencies {
compileOnly 'org.spigotmc:spigot-api:1.12.2-R0.1-SNAPSHOT' // The Spigot API with no shadowing. Requires the OSS repo.
compileOnly 'org.spigotmc:spigot-api:1.17.1-R0.1-SNAPSHOT' // The Spigot API with no shadowing. Requires the OSS repo.
}
compileKotlin {
+2 -2
View File
@@ -25,7 +25,7 @@ class ActiveList : JavaPlugin(), CommandExecutor
{
super.onEnable()
getCommand("activelist").executor = this
getCommand("activelist")!!.setExecutor(this)
}
override fun onCommand(sender: CommandSender, command: Command, label: String, _args: Array<out String>): Boolean
@@ -54,7 +54,7 @@ class ActiveList : JavaPlugin(), CommandExecutor
try
{
val yml = YamlConfiguration.loadConfiguration(it)
val name = yml.getString("lastAccountName")
val name = yml.getString("last-account-name") ?: ""
val logoutDate = yml.getLong("timestamps.logout")
val money = yml.getString("money") ?: ""
+1 -1
View File
@@ -4,7 +4,7 @@ author: Hykilpikonna
main: org.hydev.mc.ActiveList
version: 1.0
api-version: 1.14
api-version: 1.17
load: POSTWORLD
depend: [Essentials]