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:
@@ -93,7 +93,7 @@ class EffectBountifulHarvest : Effect(
|
||||
}
|
||||
|
||||
DropQueue(player)
|
||||
.addItems(*dropEvent.items.map { it.itemStack })
|
||||
.addItems(dropEvent.items.map { it.itemStack })
|
||||
.push()
|
||||
}
|
||||
|
||||
|
||||
@@ -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()
|
||||
}
|
||||
}
|
||||
|
||||
@@ -83,7 +83,7 @@ class EffectMasterLumberjack : Effect(
|
||||
}
|
||||
|
||||
DropQueue(player)
|
||||
.addItems(*dropEvent.items.map { it.itemStack })
|
||||
.addItems(dropEvent.items.map { it.itemStack })
|
||||
.push()
|
||||
}
|
||||
|
||||
|
||||
@@ -83,7 +83,7 @@ class EffectSpelunking : Effect(
|
||||
}
|
||||
|
||||
DropQueue(player)
|
||||
.addItems(*dropEvent.items.map { it.itemStack })
|
||||
.addItems(dropEvent.items.map { it.itemStack })
|
||||
.push()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user