Removed unnecessary server console debug prints
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user