mirror of
https://github.com/Ellpeck/NaturesAura.git
synced 2024-12-22 14:59:22 +01:00
fix nature altar
This commit is contained in:
parent
1f8431068c
commit
af46854bc7
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue