Bassebombecraft

Bassebombecraft

18.5k Downloads

Remove debug logging from Contagion classes

athrane opened this issue ยท 1 comments

commented

Affected classes:

Contagion2

public Contagion2(Function<Ports, Entity> fnGetSource, Function<Ports, Entity> fnGetTrueSource) {
		this.fnGetSource = fnGetSource;
		this.fnGetTrueSource = fnGetTrueSource;
		aoePorts = getInstance().enableDebug();
		aoeOp = fnAoeCoreOp.apply(fnGetSource, fnGetTrueSource);
	}

ContagionEffect

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();
}
commented

Resolved with commit: 697edf8