Compare commits

...

3 Commits

Author SHA1 Message Date
hsgamer 5b4bdf8293 optimize imports 2024-04-19 07:39:13 +07:00
hsgamer 1632683cd8 remove CraftaroCore 2024-04-19 07:38:08 +07:00
hsgamer f65293cb9d relocate craftarocore 2024-04-19 07:27:05 +07:00
2 changed files with 2 additions and 8 deletions

View File

@ -245,12 +245,6 @@
<version>1.0.0-20240329.173606-35</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.craftaro</groupId>
<artifactId>CraftaroCore</artifactId>
<version>3.0.5-20240406.040431-1</version>
<scope>provided</scope>
</dependency>
</dependencies>
<build>

View File

@ -41,7 +41,7 @@ import com.google.common.collect.Multiset;
import com.google.common.collect.Multiset.Entry;
import com.google.common.collect.Multisets;
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 us.lynuxcraft.deadsilenceiv.advancedchests.AdvancedChestsAPI;
@ -468,7 +468,7 @@ public class IslandLevelCalculator {
if (addon.isUltimateStackerEnabled()) {
if (!blockData.getMaterial().equals(Material.AIR)) {
BlockStack stack = UltimateStackerApi.getBlockStackManager().getBlock(block.getLocation());
Stackable stack = UltimateStackerApi.getBlockStackManager().getBlock(block.getLocation());
if (stack != null) {
int value = limitCount(blockData.getMaterial());
if (belowSeaLevel) {