Commit d19dd50f authored by Linus K.'s avatar Linus K.
Browse files

Remove debug messages

parent 0fe8d2ee
Pipeline #130 passed with stage
in 42 seconds
......@@ -33,7 +33,6 @@ class KillCatsListener: Listener {
.filter { ! it.isTamed }
.filter { ! isTargeted(it) }
.forEach { cat ->
Bukkit.broadcastMessage("POSSIBLE CAT")
val newKiller = cat.world.entities
.asSequence()
.filterIsInstance<Creature>()
......@@ -41,7 +40,6 @@ class KillCatsListener: Listener {
.filter { it.location.distance(cat.location) < 25.0 }
.minBy { it.location.distance(cat.location) }
if(newKiller != null) {
Bukkit.broadcastMessage("ATTACK CAT")
val oldHealth = newKiller.health
cat.attack(newKiller)
newKiller.health = oldHealth
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment

Du besuchst diese Seite mit einem veralteten IPv4-Internetzugang. Möglicherweise treten in Zukunft Probleme mit der Erreichbarkeit und Performance auf. Bitte Frage deinen Internetanbieter oder Netzwerkadministrator nach IPv6-Unterstützung.
You are visiting this site with an outdated IPv4 internet access. You may experience problems with accessibility and performance in the future. Please ask your ISP or network administrator for IPv6 support.
Weitere Infos | More Information
Klicke zum schließen | Click to close