mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-18 13:49:05 +00:00
Change Hooks for Effects
This commit is contained in:
1 parent
d9aea174f4
commit
7432373533
5 files changed
+68
-28
No files matched your search
@@ -251,7 +251,6 @@ public class CustomEffectController implements ICustomEffectHandler {
|
||||
CustomEffect parent = get(id, index);
|
||||
if (parent != null) {
|
||||
PlayerEffect playerEffect = new PlayerEffect(id, duration, level, index);
|
||||
playerEffect.index = index;
|
||||
currentEffects.put(new EffectKey(id, index), playerEffect);
|
||||
parent.onAdded(player, playerEffect);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user