egold555 / CorpseReborn

Port of spigot Corpses plugin that I ported to version 1.7.10-1.16.4
https://www.spigotmc.org/resources/corpsereborn.29875/
27 stars 22 forks source link

/Kill does not kill cows #58

Open egold555 opened 6 years ago

egold555 commented 6 years ago

in 1.8.8 /kill works, need to see if damage event might be the problem with 1.13

BillyGalbreath commented 6 years ago

https://github.com/egold555/CorpseReborn/blob/master/src/org/golde/bukkit/corpsereborn/listeners/CowHit.java#L82-L91

This is the problem. The /kill command deals Float.MAX_VALUE damage to the entity with the source as DamageSource.OUT_OF_WORLD (which is DamageCause.VOID in the Bukkit API)

smmmadden commented 6 years ago

Thanks to Billy as well for helping getting rid of a few hundred lingering no good noisy cows named CRHitbox. :-) I disabled both plugins, restarted server and then issued /minecraft:kill @e[type=cow] and they all turned into beef parts. :-)