Closed athrane closed 2 years ago
Affected classes:
public Contagion2(Function<Ports, Entity> fnGetSource, Function<Ports, Entity> fnGetTrueSource) { this.fnGetSource = fnGetSource; this.fnGetTrueSource = fnGetTrueSource; aoePorts = getInstance().enableDebug(); aoeOp = fnAoeCoreOp.apply(fnGetSource, fnGetTrueSource); }
public void performEffect(LivingEntity entity, int amplifier) { **Optional<EffectInstance> optInstance = resolveEffectInstance(entity); BassebombeCraft.getBassebombeCraft().getLogger().debug("optInstance=" + optInstance);**
and:
public ContagionEffect() { super(NOT_BAD_POTION_EFFECT, POTION_LIQUID_COLOR); aoePorts = getInstance().enableDebug(); }
Resolved with commit: https://github.com/athrane/bassebombecraft/commit/697edf8552c9d3a637cc099cbe606516b51606e0
Affected classes:
Contagion2
ContagionEffect
and: