9
0
mirror of https://github.com/Auxilor/EcoSkills.git synced 2026-01-06 15:51:52 +00:00

Fixed Kotlin 1.6.0 issues

This commit is contained in:
Auxilor
2021-11-30 19:16:26 +00:00
parent 98b8a28ee9
commit 03d36bdad8
4 changed files with 4 additions and 4 deletions

View File

@@ -93,7 +93,7 @@ class EffectBountifulHarvest : Effect(
}
DropQueue(player)
.addItems(*dropEvent.items.map { it.itemStack })
.addItems(dropEvent.items.map { it.itemStack })
.push()
}

View File

@@ -47,7 +47,7 @@ class EffectGoldenYield: Effect(
if (NumberUtils.randFloat(0.0, 100.0) < chance) {
for (i in 1..this.config.getInt("drop-multiplier")) {
DropQueue(player)
.addItems(*event.items.map { item -> item.itemStack })
.addItems(event.items.map { item -> item.itemStack })
.push()
}
}

View File

@@ -83,7 +83,7 @@ class EffectMasterLumberjack : Effect(
}
DropQueue(player)
.addItems(*dropEvent.items.map { it.itemStack })
.addItems(dropEvent.items.map { it.itemStack })
.push()
}

View File

@@ -83,7 +83,7 @@ class EffectSpelunking : Effect(
}
DropQueue(player)
.addItems(*dropEvent.items.map { it.itemStack })
.addItems(dropEvent.items.map { it.itemStack })
.push()
}