com.skillw.attsystem.internal.feature.personal.PlayerDataSave.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of AttributeSystem Show documentation
Show all versions of AttributeSystem Show documentation
Bukkit Attribute Engine Plugin.
The newest version!
package com.skillw.attsystem.internal.feature.personal
import org.bukkit.event.player.PlayerQuitEvent
import taboolib.common.platform.event.EventPriority
import taboolib.common.platform.event.SubscribeEvent
private object PlayerUpdate {
@SubscribeEvent(EventPriority.LOWEST)
fun quit(event: PlayerQuitEvent) {
val player = event.player
InitialAttrData.pushAttrData(player)
}
}