Mirror von
https://github.com/ViaVersion/ViaVersion.git
synchronisiert 2024-12-26 00:00:28 +01:00
Mark ViaPlatform#isPluginEnabled as deprecated (#4313)
Dieser Commit ist enthalten in:
Ursprung
742911a679
Commit
3b27af0964
2
.github/ISSUE_TEMPLATE/bug_report.yml
vendored
2
.github/ISSUE_TEMPLATE/bug_report.yml
vendored
@ -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
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren