diff --git a/src/main/java/de/ellpeck/naturesaura/blocks/tiles/TileEntityNatureAltar.java b/src/main/java/de/ellpeck/naturesaura/blocks/tiles/TileEntityNatureAltar.java index 9e64a0b0..42c0f57d 100644 --- a/src/main/java/de/ellpeck/naturesaura/blocks/tiles/TileEntityNatureAltar.java +++ b/src/main/java/de/ellpeck/naturesaura/blocks/tiles/TileEntityNatureAltar.java @@ -123,7 +123,7 @@ public class TileEntityNatureAltar extends TileEntityImpl implements ITickable, if (!this.cachedProviders.isEmpty()) { int index = rand.nextInt(this.cachedProviders.size()); IAuraContainerProvider provider = this.cachedProviders.get(index); - if (((TileEntity) provider).isInvalid()) { + if (!((TileEntity) provider).isInvalid()) { int stored = this.container.storeAura(provider.container().drainAura(5, true), false); if (stored > 0) { provider.container().drainAura(stored, false);