remove CraftaroCore

This commit is contained in:
hsgamer 2024-04-19 07:38:08 +07:00
parent f65293cb9d
commit 1632683cd8
2 changed files with 2 additions and 13 deletions

12
pom.xml
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>
@ -390,12 +384,6 @@
<include>lv.id.bonne:panelutils:*</include>
</includes>
</artifactSet>
<relocations>
<relocation>
<pattern>com.craftaro.core</pattern>
<shadedPattern>com.craftaro.ultimatestacker.core</shadedPattern>
</relocation>
</relocations>
<transformers>
<!-- Add a transformer to exclude any other manifest files (possibly from dependencies). -->
<transformer implementation="org.apache.maven.plugins.shade.resource.DontIncludeResourceTransformer">

View File

@ -16,6 +16,7 @@ import java.util.UUID;
import java.util.concurrent.CompletableFuture;
import java.util.concurrent.ConcurrentLinkedQueue;
import com.craftaro.ultimatestacker.api.utils.Stackable;
import org.bukkit.Bukkit;
import org.bukkit.Chunk;
import org.bukkit.ChunkSnapshot;
@ -468,7 +469,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) {