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:
Ceikry
2023-02-18 09:18:24 +00:00
committed by Ryan
parent 86405d89f4
commit 675d576c58
13 changed files with 17 additions and 9 deletions
@@ -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)
@@ -297,6 +297,7 @@ object PacketProcessor {
//TODO see above todo
}
else -> {}
}
}
@@ -709,6 +709,7 @@ enum class Decoders530(val opcode: Int) {
selection_b_index = buffer.get()
}
QCPacketType.UNHANDLED -> SystemLogger.logWarn(this::class.java, "Unhandled packet type, skipping remaining buffer contents.")
else -> {}
}
return Packet.QuickChat(player, selection_a_index, selection_b_index, forClan, multiplier, offset, packetType)
}
@@ -51,6 +51,7 @@ class QuickChatPacketHandler : IncomingPacket {
selection_b_index = buffer.get()
}
QCPacketType.UNHANDLED -> SystemLogger.logWarn(this::class.java, "Unhandled packet type, skipping remaining buffer contents.")
else -> {}
}