athrane / bassebombecraft

Bassebombecraft Minecraft Mod
https://www.curseforge.com/minecraft/mc-mods/bassebombecraft
GNU General Public License v3.0
0 stars 0 forks source link

ContagionEffect fails to resolve effect from source entity #1263

Closed athrane closed 2 years ago

athrane commented 2 years ago

Requires clarification of semantics from #1250.

Added debugging from #1259:

Optional<EffectInstance> optInstance = resolveEffectInstance(entity);
BassebombeCraft.getBassebombeCraft().getLogger().debug("optInstance=" + optInstance);

// exit if null instance is returned
if (!optInstance.isPresent())
  return;
athrane commented 2 years ago

Resolved with commit: f5bee22