Challenger enderman now drop enderpearls again
This commit is contained in:
parent
1d66f71d69
commit
0dd9f789d4
1 changed files with 0 additions and 1 deletions
|
|
@ -94,7 +94,6 @@ onEvent('entity.drops', event => {
|
||||||
const comp = entity.minecraftEntity.getPersistentData();
|
const comp = entity.minecraftEntity.getPersistentData();
|
||||||
const isChallengerMob = comp.func_74764_b('challenger_mob_data'); // contains()
|
const isChallengerMob = comp.func_74764_b('challenger_mob_data'); // contains()
|
||||||
if (isChallengerMob) {
|
if (isChallengerMob) {
|
||||||
event.getDrops().clear();
|
|
||||||
event.addDrop(Item.of('1x powah:ender_core'));
|
event.addDrop(Item.of('1x powah:ender_core'));
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue