Fixed reward bug

This commit is contained in:
Auxilor
2022-03-17 11:00:47 +00:00
parent 29b4c200f1
commit 354e84f48e

View File

@@ -22,6 +22,7 @@ class Reward(
val display: ItemStack = ItemStackBuilder(Items.lookup(config.getString("display.item")))
.addLoreLines(config.getStrings("display.lore"))
.setDisplayName(config.getString("display.name"))
.build()
fun getWeight(player: Player) = config.getDoubleFromExpression("weight.actual", player)