PR Cleanup

This commit is contained in:
Auxilor
2023-04-29 15:47:42 +01:00
parent 322e179b81
commit 714952bc45
2 changed files with 3 additions and 6 deletions

View File

@@ -358,9 +358,7 @@ abstract class EcoSpigotPlugin : EcoPlugin() {
Prices.registerPriceFactory(PriceFactoryUltraEconomy(currency))
}
},
IntegrationLoader("PlayerPoints") {
Prices.registerPriceFactory(PriceFactoryPlayerPoints())
},
IntegrationLoader("PlayerPoints") { Prices.registerPriceFactory(PriceFactoryPlayerPoints()) },
// Placeholder
IntegrationLoader("PlaceholderAPI") { PlaceholderManager.addIntegration(PlaceholderIntegrationPAPI()) },

View File

@@ -6,7 +6,7 @@ import com.willfp.eco.core.price.Price
import com.willfp.eco.core.price.PriceFactory
import org.black_ixx.playerpoints.PlayerPoints
import org.bukkit.entity.Player
import java.util.*
import java.util.UUID
import kotlin.math.roundToInt
class PriceFactoryPlayerPoints : PriceFactory {
@@ -49,6 +49,5 @@ class PriceFactoryPlayerPoints : PriceFactory {
override fun setMultiplier(player: Player, multiplier: Double) {
multipliers[player.uniqueId] = multiplier
}
}
}
}