Skip to content

Commit 27f0095

Browse files
committed
Fix compilation for MC 1.21. Nothing tested yet.
1 parent ead1e1b commit 27f0095

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

worldguard-bukkit/build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ configurations {
2020

2121
dependencies {
2222
"api"(project(":worldguard-core"))
23-
"compileOnly"("io.papermc.paper:paper-api:1.20.6-R0.1-SNAPSHOT")
24-
"runtimeOnly"("org.spigotmc:spigot-api:1.20.6-R0.1-SNAPSHOT") {
23+
"compileOnly"("io.papermc.paper:paper-api:1.21-R0.1-SNAPSHOT")
24+
"runtimeOnly"("org.spigotmc:spigot-api:1.21-R0.1-SNAPSHOT") {
2525
exclude("junit", "junit")
2626
}
2727
"api"("com.sk89q.worldedit:worldedit-bukkit:${Versions.WORLDEDIT}") { isTransitive = false }

worldguard-bukkit/src/main/java/com/sk89q/worldguard/bukkit/util/Materials.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -864,7 +864,6 @@ private static void putMaterialTag(Tag<Material> tag, Integer value) {
864864
putMaterialTag(Tag.ALL_SIGNS, 0);
865865
putMaterialTag(Tag.SMALL_FLOWERS, 0);
866866
putMaterialTag(Tag.BEDS, MODIFIED_ON_RIGHT);
867-
putMaterialTag(Tag.ITEMS_MUSIC_DISCS, 0);
868867
putMaterialTag(Tag.ITEMS_BANNERS, 0);
869868
putMaterialTag(Tag.FENCE_GATES, MODIFIED_ON_RIGHT);
870869
putMaterialTag(Tag.FENCES, 0);

worldguard-bukkit/src/main/resources/plugin.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ main: com.sk89q.worldguard.bukkit.WorldGuardPlugin
33
version: "${internalVersion}"
44
depend: [WorldEdit]
55
softdepend: [CommandBook]
6-
api-version: "1.20"
6+
api-version: "1.21"

0 commit comments

Comments
 (0)