pmmp / PocketMine-MP

A server software for Minecraft: Bedrock Edition in PHP
https://pmmp.io
GNU Lesser General Public License v3.0
3.27k stars 1.54k forks source link

Projectiles do not collide with non-Living entities #5541

Open IvanCraft623 opened 1 year ago

IvanCraft623 commented 1 year ago

Issue description

Exactly caused by: https://github.com/pmmp/PocketMine-MP/blob/bf44edd179ba7634d3c9d587750b1f7830d2be18/src/entity/projectile/Projectile.php#L111

The collision should not be limited to Living entities because in vanilla it can damage entities such as Paintings, ArmorStands and Minecarts...

OS and versions

IvanCraft623 commented 1 year ago

Related: #2082

dktapps commented 1 year ago

I don't see how that line of code has anything to do with this problem.

IvanCraft623 commented 1 year ago

I don't see how that line of code has anything to do with this problem.

Sorry, wrong line, I've edited it.