Removed lombok from kotlin
This commit is contained in:
@@ -1,9 +1,7 @@
|
||||
package com.willfp.eco.internal
|
||||
|
||||
import com.willfp.eco.core.EcoPlugin
|
||||
import lombok.experimental.UtilityClass
|
||||
|
||||
@UtilityClass
|
||||
object Plugins {
|
||||
val LOADED_ECO_PLUGINS = HashMap<String, EcoPlugin>()
|
||||
}
|
||||
@@ -3,8 +3,6 @@ package com.willfp.eco.internal.config.yaml
|
||||
import com.willfp.eco.core.EcoPlugin
|
||||
import com.willfp.eco.core.config.interfaces.LoadableConfig
|
||||
import com.willfp.eco.core.config.interfaces.WrappedYamlConfiguration
|
||||
import lombok.AccessLevel
|
||||
import lombok.Getter
|
||||
import org.bukkit.configuration.InvalidConfigurationException
|
||||
import org.bukkit.configuration.file.YamlConfiguration
|
||||
import java.io.File
|
||||
@@ -14,7 +12,7 @@ import java.io.OutputStream
|
||||
|
||||
open class EcoLoadableYamlConfig(
|
||||
configName: String,
|
||||
@field:Getter(AccessLevel.PROTECTED) private val plugin: EcoPlugin,
|
||||
private val plugin: EcoPlugin,
|
||||
private val subDirectoryPath: String,
|
||||
val source: Class<*>
|
||||
) : EcoYamlConfigWrapper<YamlConfiguration>(), WrappedYamlConfiguration, LoadableConfig {
|
||||
|
||||
@@ -2,8 +2,6 @@ package com.willfp.eco.internal.drops.impl
|
||||
|
||||
import com.willfp.eco.core.drops.InternalDropQueue
|
||||
import com.willfp.eco.util.TelekinesisUtils
|
||||
import lombok.AccessLevel
|
||||
import lombok.Getter
|
||||
import org.bukkit.Bukkit
|
||||
import org.bukkit.Location
|
||||
import org.bukkit.Material
|
||||
@@ -20,7 +18,6 @@ open class EcoDropQueue(player: Player) : InternalDropQueue {
|
||||
val player: Player
|
||||
var loc: Location
|
||||
|
||||
@Getter(AccessLevel.PROTECTED)
|
||||
private var hasTelekinesis = false
|
||||
override fun addItem(item: ItemStack): InternalDropQueue {
|
||||
items.add(item)
|
||||
|
||||
Reference in New Issue
Block a user