aboutsummaryrefslogtreecommitdiffhomepage
path: root/patches/api/0484-Add-FeatureFlag-API.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/api/0484-Add-FeatureFlag-API.patch')
-rw-r--r--patches/api/0484-Add-FeatureFlag-API.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/patches/api/0484-Add-FeatureFlag-API.patch b/patches/api/0484-Add-FeatureFlag-API.patch
index caa54e6b34..05c1360c3c 100644
--- a/patches/api/0484-Add-FeatureFlag-API.patch
+++ b/patches/api/0484-Add-FeatureFlag-API.patch
@@ -104,7 +104,7 @@ index 0000000000000000000000000000000000000000..0955699df65ccbb8711cfa48f0b34d5a
+ @Unmodifiable Set<FeatureFlag> getFeatureFlags();
+}
diff --git a/src/main/java/org/bukkit/FeatureFlag.java b/src/main/java/org/bukkit/FeatureFlag.java
-index dd157b650aa7ac759d156ced30fa7514d34c43ed..c170d9ae97006c5c46efdcb5e9304ed99f43fcd8 100644
+index dd157b650aa7ac759d156ced30fa7514d34c43ed..a1e093c40c89c0cbf5ec1038d16691bda598cea2 100644
--- a/src/main/java/org/bukkit/FeatureFlag.java
+++ b/src/main/java/org/bukkit/FeatureFlag.java
@@ -1,17 +1,24 @@
@@ -176,7 +176,7 @@ index dd157b650aa7ac759d156ced30fa7514d34c43ed..c170d9ae97006c5c46efdcb5e9304ed9
*/
@Deprecated(since = "1.21.4")
- public static final FeatureFlag WINTER_DROP = Bukkit.getUnsafe().getFeatureFlag(NamespacedKey.minecraft("winter_drop"));
-+ FeatureFlag WINTER_DROP = create("winter_drop");
++ FeatureFlag WINTER_DROP = deprecated("winter_drop");
@ApiStatus.Experimental // Paper - add missing annotation
- public static final FeatureFlag REDSTONE_EXPERIMENTS = Bukkit.getUnsafe().getFeatureFlag(NamespacedKey.minecraft("redstone_experiments"));