Bump axapi, add some debug

This commit is contained in:
TomTom 2024-08-02 14:05:10 +02:00
parent 77443db3ad
commit 3c4c46ceca
2 changed files with 3 additions and 1 deletions

View File

@ -16,7 +16,7 @@ repositories {
}
dependencies {
implementation("com.artillexstudios.axapi:axapi:1.4.314:all")
implementation("com.artillexstudios.axapi:axapi:1.4.322:all")
implementation("dev.jorel:commandapi-bukkit-shade:9.5.0")
implementation("org.bstats:bstats-bukkit:3.0.2")
compileOnly("com.github.ben-manes.caffeine:caffeine:3.1.8")

View File

@ -1,5 +1,6 @@
package com.artillexstudios.axminions.integrations.implementation.block;
import com.artillexstudios.axminions.utils.LogUtils;
import me.kryniowesegryderiusz.kgenerators.Main;
import me.kryniowesegryderiusz.kgenerators.generators.locations.objects.GeneratorLocation;
import org.bukkit.Location;
@ -13,6 +14,7 @@ public final class KGeneratorsIntegrable implements BlockIntegrable {
@Override
public Collection<ItemStack> lootAndBreak(Location location, ItemStack itemStack) {
if (!Main.getPlacedGenerators().isChunkFullyLoaded(location)) {
LogUtils.debug("Chunk is not fully loaded");
return null;
}