Skip to content

Commit

Permalink
Added pre-support for 1.21.4
Browse files Browse the repository at this point in the history
  • Loading branch information
AerWyn81 committed Dec 15, 2024
1 parent a2fb49e commit fa10dae
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
3 changes: 2 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ plugins {
id("java")
}

version = "2.6.13"
version = "2.6.14"

allprojects {
repositories {
Expand All @@ -14,5 +14,6 @@ allprojects {
maven("https://repo.extendedclip.com/content/repositories/placeholderapi/")
maven("https://repo.fancyplugins.de/releases")
maven("https://jitpack.io")
maven("https://ci.codemc.io/job/Tr7zw/job/Item-NBT-API/")
}
}
3 changes: 2 additions & 1 deletion core/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ dependencies {
implementation("redis.clients:jedis:5.1.3")
implementation("com.zaxxer:HikariCP:5.1.0")
implementation("org.apache.commons:commons-lang3:3.12.0")
implementation("de.tr7zw:item-nbt-api:2.14.0")
//implementation("de.tr7zw:item-nbt-api:2.14.0")
implementation("de.tr7zw:item-nbt-api:2.14.1-SNAPSHOT")
implementation("net.kyori:adventure-api:4.17.0")
implementation("net.kyori:adventure-platform-bukkit:4.3.3")
}
Expand Down
6 changes: 1 addition & 5 deletions core/src/main/java/fr/aerwyn81/headblocks/HeadBlocks.java
Original file line number Diff line number Diff line change
Expand Up @@ -122,11 +122,7 @@ public void onEnable() {
}

private void initializeExternals() {
if (!NBT.preloadApi()) {
log.sendMessage(MessageUtils.colorize("&cNBT-API wasn't initialized properly, disabling the plugin..."));
getPluginLoader().disablePlugin(this);
return;
}
NBT.preloadApi();

MinecraftVersion.disableBStats();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,9 @@ public static void unloadPlayer(Player player) {
}

public static void close() {
_cacheHeads.clear();
if (_cacheHeads != null) {
_cacheHeads.clear();
}

try {
if (storage != null) {
Expand Down

0 comments on commit fa10dae

Please sign in to comment.