Skip to content

Commit 06555d0

Browse files
authored
Revert "Fix #1100 (#1104)"
This reverts commit 9bb34a2.
1 parent 9bb34a2 commit 06555d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

LiteLoader/src/llapi/mc/ActorAPI.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ Actor* Actor::getActorFromViewVector(float maxDistance) {
236236
bool Actor::addEffect(MobEffect::EffectType type, int tick, int level, bool ambient, bool showParticles,
237237
bool showAnimation) {
238238
MobEffectInstance ins = MobEffectInstance((unsigned int)type, tick, level, ambient, showParticles, showAnimation);
239-
this->addEffect(ins);
239+
ins.applyEffects(this);
240240
return true;
241241
};
242242

0 commit comments

Comments
 (0)