Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-11-16 16:10:07 +01:00
Added isInitialized() and missing JavaDoc
Dieser Commit ist enthalten in:
Ursprung
2987550e9b
Commit
6c46da52c2
@ -321,10 +321,24 @@ public class PlatformManager {
|
||||
return queryCapability(Capability.CONFIGURATION).getConfiguration();
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the current supported {@link SideEffect}s.
|
||||
*
|
||||
* @return the supported side effects
|
||||
* @throws NoCapablePlatformException thrown if no platform is capable
|
||||
*/
|
||||
public Collection<SideEffect> getSupportedSideEffects() {
|
||||
return queryCapability(Capability.WORLD_EDITING).getSupportedSideEffects();
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the initialized state of the Platform.
|
||||
* {@return if the platform manager is initialized}
|
||||
*/
|
||||
public boolean isInitialized() {
|
||||
return initialized.get();
|
||||
}
|
||||
|
||||
/**
|
||||
* You shouldn't have been calling this anyways, but this is now deprecated. Either don't
|
||||
* fire this event at all, or fire the new event via the event bus if you're a platform.
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren