diff --git a/src/main/java/de/ellpeck/naturesaura/InternalHooks.java b/src/main/java/de/ellpeck/naturesaura/InternalHooks.java index f478dfdf..0bad80e4 100644 --- a/src/main/java/de/ellpeck/naturesaura/InternalHooks.java +++ b/src/main/java/de/ellpeck/naturesaura/InternalHooks.java @@ -100,7 +100,7 @@ public class InternalHooks implements NaturesAuraAPI.IInternalHooks { } }); BlockPos lowest = lowestSpot.getValue(); - if (lowest == null) + if (lowest == null || lowestAmount.intValue() >= 0) lowest = defaultSpot; return lowest; } @@ -117,7 +117,7 @@ public class InternalHooks implements NaturesAuraAPI.IInternalHooks { } }); BlockPos highest = highestSpot.getValue(); - if (highest == null) + if (highest == null || highestAmount.intValue() <= 0) highest = defaultSpot; return highest; } diff --git a/src/main/java/de/ellpeck/naturesaura/api/aura/chunk/IAuraChunk.java b/src/main/java/de/ellpeck/naturesaura/api/aura/chunk/IAuraChunk.java index a91b9b59..4fd335a2 100644 --- a/src/main/java/de/ellpeck/naturesaura/api/aura/chunk/IAuraChunk.java +++ b/src/main/java/de/ellpeck/naturesaura/api/aura/chunk/IAuraChunk.java @@ -82,7 +82,8 @@ public interface IAuraChunk extends ICapabilityProvider, INBTSerializable