From af46854bc79aa0224762a45ff63cb7eb62f25f54 Mon Sep 17 00:00:00 2001 From: Ellpeck Date: Tue, 16 Oct 2018 11:50:43 +0200 Subject: [PATCH] fix nature altar --- .../ellpeck/naturesaura/blocks/tiles/TileEntityNatureAltar.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);