Class RemoteAPIChangeEvent
java.lang.Object
org.bukkit.event.Event
de.marcely.bedwars.api.event.remote.RemoteAPIChangeEvent
Gets called when the RemoteAPI implementation changes.
Typically, this should only get called in case the ProxySync addon starts (this event gets called for its RemoteAPI implementation) and after it stops (RemoteAPI gets replaced back to MBedwars' original implementation).
-
Nested Class Summary
Nested classes/interfaces inherited from class Event
Event.Result -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class Event
getEventName, isAsynchronous
-
Constructor Details
-
RemoteAPIChangeEvent
-
-
Method Details
-
getNewAPI
Get the new active RemoteAPI.Returns the same instance as
RemoteAPI.get()- Returns:
- The new active implementation
-
getHandlers
- Specified by:
getHandlersin classEvent
-
getHandlerList
-