Mirror von
https://github.com/PaperMC/Velocity.git
synchronisiert 2024-11-17 05:20:14 +01:00
javadoc for PlayerResourcePackStatusEvent.Status#isIntermediate
Dieser Commit ist enthalten in:
Ursprung
8bfe0670c4
Commit
98632925e1
@ -151,6 +151,13 @@ public class PlayerResourcePackStatusEvent {
|
|||||||
*/
|
*/
|
||||||
DISCARDED;
|
DISCARDED;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Returns true if the resource pack status is intermediate, indicating that the player has
|
||||||
|
* either accepted the resource pack and is currently downloading it or has successfully
|
||||||
|
* downloaded it.
|
||||||
|
*
|
||||||
|
* @return true if the status is intermediate (ACCEPTED or DOWNLOADED), false otherwise
|
||||||
|
*/
|
||||||
public boolean isIntermediate() {
|
public boolean isIntermediate() {
|
||||||
return this == ACCEPTED || this == DOWNLOADED;
|
return this == ACCEPTED || this == DOWNLOADED;
|
||||||
}
|
}
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren