[F] Ensure EssentialsX backwards compatibility

This commit is contained in:
Matias Zwinger
2021-07-10 14:28:28 +03:00
parent a207582985
commit e68b54c2b8
+1 -1
View File
@@ -54,7 +54,7 @@ class ActiveList : JavaPlugin(), CommandExecutor
try
{
val yml = YamlConfiguration.loadConfiguration(it)
val name = yml.getString("last-account-name") ?: ""
val name = yml.getString("last-account-name") ?: yml.getString("lastAccountName") ?: ""
val logoutDate = yml.getLong("timestamps.logout")
val money = yml.getString("money") ?: ""