Updated kotlin to 1.8.0
Updated kotlin target to java 11 Fixed build errors when targeting 1.8.0
This commit is contained in:
@@ -422,6 +422,7 @@ class CombatBotAssembler {
|
||||
bot.skills.setStaticLevel(Skills.RANGE,1)
|
||||
bot.skills.setStaticLevel(Skills.MAGIC,1)
|
||||
}
|
||||
else -> {}
|
||||
}
|
||||
|
||||
bot.skills.addExperience(Skills.HITPOINTS, (totalXPAdd / skillAmt) * 0.2)
|
||||
|
||||
@@ -75,6 +75,7 @@ class GraveController : PersistWorld, TickListener, InteractionListener, Command
|
||||
|
||||
when (grave.type) {
|
||||
in GraveType.SMALL_GS..GraveType.ANGEL_DEATH -> isGraniteBackground = true
|
||||
else -> {}
|
||||
}
|
||||
|
||||
if (isGraniteBackground)
|
||||
|
||||
Reference in New Issue
Block a user