mirror of
https://github.com/Artillex-Studios/AxMinions.git
synced 2024-11-26 12:15:57 +01:00
Bump axapi, add some debug
This commit is contained in:
parent
77443db3ad
commit
3c4c46ceca
@ -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")
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user