Class EventHelper
java.lang.Object
com.janboerman.invsee.spigot.internal.EventHelper
-
Method Summary
Modifier and TypeMethodDescriptionstatic <SI extends SpectatorInventory<?>>
SIcallSpectatorInventoryOfflineCreatedEvent
(Server server, SI spectatorInventory) static SpectatorInventorySaveEvent
callSpectatorInventorySaveEvent
(Server server, SpectatorInventory<?> spectatorInventory) CallsSpectatorInventorySaveEvent
.
-
Method Details
-
callSpectatorInventorySaveEvent
public static SpectatorInventorySaveEvent callSpectatorInventorySaveEvent(Server server, SpectatorInventory<?> spectatorInventory) CallsSpectatorInventorySaveEvent
.- Parameters:
server
- the serverspectatorInventory
- the inventory to be saved- Returns:
- the event
-
callSpectatorInventoryOfflineCreatedEvent
public static <SI extends SpectatorInventory<?>> SI callSpectatorInventoryOfflineCreatedEvent(Server server, SI spectatorInventory) - Parameters:
server
- the serverspectatorInventory
- the inventory to b- Returns:
- the event
-