From 3c4c46ceca59886e368d149bee414ed7f401907d Mon Sep 17 00:00:00 2001 From: TomTom <93038247+AverageGithub@users.noreply.github.com> Date: Fri, 2 Aug 2024 14:05:10 +0200 Subject: [PATCH] Bump axapi, add some debug --- build.gradle.kts | 2 +- .../implementation/block/KGeneratorsIntegrable.java | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/build.gradle.kts b/build.gradle.kts index 57b584d..474a94b 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -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") diff --git a/src/main/java/com/artillexstudios/axminions/integrations/implementation/block/KGeneratorsIntegrable.java b/src/main/java/com/artillexstudios/axminions/integrations/implementation/block/KGeneratorsIntegrable.java index 3223d64..c6d71c7 100644 --- a/src/main/java/com/artillexstudios/axminions/integrations/implementation/block/KGeneratorsIntegrable.java +++ b/src/main/java/com/artillexstudios/axminions/integrations/implementation/block/KGeneratorsIntegrable.java @@ -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 lootAndBreak(Location location, ItemStack itemStack) { if (!Main.getPlacedGenerators().isChunkFullyLoaded(location)) { + LogUtils.debug("Chunk is not fully loaded"); return null; }