Skip to content

Commit

Permalink
[1.10.9]修复#71
Browse files Browse the repository at this point in the history
  • Loading branch information
YufiriaMazenta committed Aug 6, 2024
1 parent badf7b3 commit 30b9d86
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
4 changes: 2 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import java.text.SimpleDateFormat
version = "1.10.8"
version = "1.10.9"

plugins {
`java-library`
Expand Down Expand Up @@ -31,7 +31,7 @@ repositories {

dependencies {
compileOnly("org.jetbrains:annotations:24.0.1")
compileOnly("io.papermc.paper:paper-api:1.20.4-R0.1-SNAPSHOT")
compileOnly("io.papermc.paper:paper-api:1.20.1-R0.1-SNAPSHOT")
compileOnly("pers.neige.neigeitems:NeigeItems:1.15.113")
compileOnly("net.kyori:adventure-api:4.14.0")
compileOnly("org.spigotmc:spigot-api:1.20.4-R0.1-SNAPSHOT")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,9 @@ public void regRecipeGroup(ConfigWrapper recipeConfig) {
RecipeManager.INSTANCE.addRecipeGroup(recipeGroup);
RecipeManager.INSTANCE.loadRecipeGroup(recipeGroup);
if (CrypticLib.isPaper()) {
Bukkit.updateRecipes();
if (CrypticLib.minecraftVersion() >= 12001) {
Bukkit.updateRecipes();
}
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,9 @@ private void loadRecipes() {
recipeGroupMap.forEach((recipeGroupName, recipeGroup) -> loadRecipeGroup(recipeGroup));
}
if (CrypticLib.isPaper()) {
Bukkit.updateRecipes();
if (CrypticLib.minecraftVersion() >= 12001) {
Bukkit.updateRecipes();
}
}
}

Expand Down

0 comments on commit 30b9d86

Please sign in to comment.