Removed unnecessary server console debug prints

This commit is contained in:
Oven Bread
2024-10-08 06:39:25 +00:00
committed by Ryan
parent f11149ebe2
commit 7d32e77860
3 changed files with 1 additions and 9 deletions
@@ -116,25 +116,19 @@ class WildernessCourse
when (counter++) {
0 -> {
AgilityHandler.forceWalk(player, -1, Location.create(x, 3937, 0), Location.create(x, 3940, 0), Animation.create(10580), 15, 0.0, null, 1) //10
println("1")
player.teleporter.send(Location.create(3004, 3947, 0), TeleportManager.TeleportType.INSTANT, TeleportManager.WILDY_TELEPORT)
println("tele")
counter++
AgilityHandler.forceWalk(player, 0, Location.create(x, 3948, 0), Location.create(x, 3950, 0), Animation.create(10579), 20, 12.5, null, 5) //20
println("3")
return true
}
2 -> {
player.teleporter.send(Location.create(3004, 3947, 0), TeleportManager.TeleportType.INSTANT, TeleportManager.WILDY_TELEPORT)
println("tele")
counter++
AgilityHandler.forceWalk(player, 0, Location.create(x, 3948, 0), Location.create(x, 3950, 0), Animation.create(10579), 20, 12.5, null, 5)
println("3")
return true
}
3 -> {
AgilityHandler.forceWalk(player, 0, Location.create(x, 3948, 0), Location.create(x, 3950, 0), Animation.create(10579), 20, 12.5, null, 5)
println("3")
return true
}
}
@@ -5,7 +5,7 @@ import core.game.node.entity.player.Player
import core.tools.END_DIALOGUE
import java.util.regex.Pattern
val DEBUG_DIALOGUE = true
val DEBUG_DIALOGUE = false
val NUMBER_PATTERN1 = Pattern.compile("^(\\d+) \\[label", Pattern.MULTILINE)
val NUMBER_PATTERN2 = Pattern.compile("(\\d+) -> (\\d+)")
@@ -62,8 +62,6 @@ class Poison : PersistTimer (30, "poison", flags = arrayOf(TimerFlag.ClearOnDeat
override fun getTimer (vararg args: Any) : RSTimer {
val timer = Poison()
for (arg in args)
println(arg)
timer.damageSource = args[0] as? Entity ?: return timer
timer.severity = args[1] as? Int ?: return timer
return timer