3
0
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:
EnZaXD 2024-12-15 10:06:57 +01:00 committet von GitHub
Ursprung 742911a679
Commit 3b27af0964
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: B5690EEEBB952194
2 geänderte Dateien mit 5 neuen und 2 gelöschten Zeilen

Datei anzeigen

@ -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

Datei anzeigen

@ -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