Death by Creeper Explosion causes crash
SneakySlaps opened this issue ยท 3 comments
When being caught in a creeper explosion that kills you, it will crash the game.
Steps to reproduce the behavior:
- Play in survival mode
- /summon minecraft:creeper on top of yourself
- Let it kill you.
Versions:
- Minecraft: 1.21.1
- Loader: neoforge 21.1.97
- PMMO: 1.21.1-2.6.20
I have moonlight Lib and MmmMmmMmmMmm (Target Dummy) installed.
Talked in Discord. Can not reproduce. Seems to be a config issue. Waiting for more data.
Seems to be a script:
WITH config(perks)
set(clear_all);
set().event(DEAL_DAMAGE)
.perk("pmmo:damage_boost")
.skill(archery)
.multiplicative(false)
.base(1)
.per_level(0.25)
.applies_to(["minecraft:bow"]);
ENDAh, I see:
Project-MMO-2.0/src/main/java/harmonised/pmmo/core/perks/FeaturePerks.java
Lines 103 to 116 in 96ea60b
This fails when there are no SKILL_UP perks.