mirror of
https://github.com/BentoBoxWorld/Level.git
synced 2024-09-27 07:12:40 +02:00
Compare commits
3 Commits
5f1adc27b7
...
5b4bdf8293
Author | SHA1 | Date | |
---|---|---|---|
|
5b4bdf8293 | ||
|
1632683cd8 | ||
|
f65293cb9d |
6
pom.xml
6
pom.xml
@ -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>
|
||||
|
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user