[Fix] Removing deprecated method projectile.getShooter()

This method is deprecated and it prevents me to compile Towny. I fixed it, but it must be revised to ensure that dispensers can't cause damages when war time = false.