mirror of
https://github.com/ViaVersion/ViaVersion.git
synced 2024-12-22 00:17:37 +01:00
Mark ViaPlatform#isPluginEnabled as deprecated (#4313)
This commit is contained in:
parent
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.
|
||||
If you want to attach screenshots, use the comment field at the bottom of the page.
|
||||
placeholder: |
|
||||
Example: "Placing signs on 1.13.2 causes text to disappear."
|
||||
Example: "Placing signs on 1.21.3 causes text to disappear."
|
||||
validations:
|
||||
required: true
|
||||
|
||||
|
@ -163,7 +163,10 @@ public interface ViaPlatform<T> {
|
||||
*
|
||||
* @return True if it is enabled
|
||||
*/
|
||||
boolean isPluginEnabled();
|
||||
@Deprecated(forRemoval = true)
|
||||
default boolean isPluginEnabled() {
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the API for this platform
|
||||
|
Loading…
Reference in New Issue
Block a user