Use exploding sheep as source for explosion.
Makes the sheep entity the source of the explosion that's created when it triggers close to a player. This, in turn, makes the damage event listener handle the explosion damage as if the sheep is the damager, which means it will respect the `monster-infight` flag. Fixes #758
This commit is contained in:
@@ -11,6 +11,8 @@ These changes will (most likely) be included in the next version.
|
||||
|
||||
|
||||
## [Unreleased]
|
||||
### Fixed
|
||||
- Explosion damage caused by Exploding Sheep now correctly counts as monster damage. This means that the explosions only affect other mobs if the per-arena setting `monster-infight` is set to `true`.
|
||||
|
||||
## [0.107] - 2022-07-30
|
||||
### Added
|
||||
|
||||
Reference in New Issue
Block a user