Skip to content

Commit

Permalink
Update for 1.20
Browse files Browse the repository at this point in the history
  • Loading branch information
me4502 committed Jun 9, 2023
1 parent f68456a commit 5cd0bb1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion craftbook-bukkit/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ configurations["testImplementation"].extendsFrom(localImplementation)
dependencies {
"api"(project(":craftbook-core"))
"api"(project(":craftbook-libs:bukkit"))
"localImplementation"("io.papermc.paper:paper-api:1.19.4-R0.1-SNAPSHOT") {
"localImplementation"("io.papermc.paper:paper-api:1.20-R0.1-SNAPSHOT") {
exclude("junit", "junit")
exclude(group = "org.slf4j", module = "slf4j-api")
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public static boolean areBlocksIdentical(Block block, Block block2) {
}

public static boolean isBlockReplacable(Material id) {
if (id.isAir() || Tag.REPLACEABLE_PLANTS.isTagged(id)) {
if (id.isAir() || Tag.REPLACEABLE.isTagged(id)) {
return true;
}

Expand Down

0 comments on commit 5cd0bb1

Please sign in to comment.