Mark ViaPlatform#isPluginEnabled as deprecated (#4313)

This commit is contained in:
EnZaXD 2024-12-15 10:06:57 +01:00 committed by GitHub
parent 742911a679
commit 3b27af0964
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 5 additions and 2 deletions

View File

@ -41,7 +41,7 @@ body:
Describe the unexpected behavior. Describe the unexpected behavior.
If you want to attach screenshots, use the comment field at the bottom of the page. If you want to attach screenshots, use the comment field at the bottom of the page.
placeholder: | placeholder: |
Example: "Placing signs on 1.13.2 causes text to disappear." Example: "Placing signs on 1.21.3 causes text to disappear."
validations: validations:
required: true required: true

View File

@ -163,7 +163,10 @@ public interface ViaPlatform<T> {
* *
* @return True if it is enabled * @return True if it is enabled
*/ */
boolean isPluginEnabled(); @Deprecated(forRemoval = true)
default boolean isPluginEnabled() {
return true;
}
/** /**
* Get the API for this platform * Get the API for this platform