Compare commits
3 Commits
5f1adc27b7
...
5b4bdf8293
Author | SHA1 | Date |
---|---|---|
hsgamer | 5b4bdf8293 | |
hsgamer | 1632683cd8 | |
hsgamer | f65293cb9d |
6
pom.xml
6
pom.xml
|
@ -245,12 +245,6 @@
|
||||||
<version>1.0.0-20240329.173606-35</version>
|
<version>1.0.0-20240329.173606-35</version>
|
||||||
<scope>provided</scope>
|
<scope>provided</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
|
||||||
<groupId>com.craftaro</groupId>
|
|
||||||
<artifactId>CraftaroCore</artifactId>
|
|
||||||
<version>3.0.5-20240406.040431-1</version>
|
|
||||||
<scope>provided</scope>
|
|
||||||
</dependency>
|
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
|
||||||
<build>
|
<build>
|
||||||
|
|
|
@ -41,7 +41,7 @@ import com.google.common.collect.Multiset;
|
||||||
import com.google.common.collect.Multiset.Entry;
|
import com.google.common.collect.Multiset.Entry;
|
||||||
import com.google.common.collect.Multisets;
|
import com.google.common.collect.Multisets;
|
||||||
import com.craftaro.ultimatestacker.api.UltimateStackerApi;
|
import com.craftaro.ultimatestacker.api.UltimateStackerApi;
|
||||||
import com.craftaro.ultimatestacker.api.stack.block.BlockStack;
|
import com.craftaro.ultimatestacker.api.utils.Stackable;
|
||||||
|
|
||||||
import dev.rosewood.rosestacker.api.RoseStackerAPI;
|
import dev.rosewood.rosestacker.api.RoseStackerAPI;
|
||||||
import us.lynuxcraft.deadsilenceiv.advancedchests.AdvancedChestsAPI;
|
import us.lynuxcraft.deadsilenceiv.advancedchests.AdvancedChestsAPI;
|
||||||
|
@ -468,7 +468,7 @@ public class IslandLevelCalculator {
|
||||||
|
|
||||||
if (addon.isUltimateStackerEnabled()) {
|
if (addon.isUltimateStackerEnabled()) {
|
||||||
if (!blockData.getMaterial().equals(Material.AIR)) {
|
if (!blockData.getMaterial().equals(Material.AIR)) {
|
||||||
BlockStack stack = UltimateStackerApi.getBlockStackManager().getBlock(block.getLocation());
|
Stackable stack = UltimateStackerApi.getBlockStackManager().getBlock(block.getLocation());
|
||||||
if (stack != null) {
|
if (stack != null) {
|
||||||
int value = limitCount(blockData.getMaterial());
|
int value = limitCount(blockData.getMaterial());
|
||||||
if (belowSeaLevel) {
|
if (belowSeaLevel) {
|
||||||
|
|
Loading…
Reference in New Issue