Class GameModeShareHandler

java.lang.Object
org.mvplugins.multiverse.inventories.handleshare.GameModeShareHandler

public final class GameModeShareHandler extends Object
GameMode change implementation of ShareHandler.
  • Field Details

  • Constructor Details

    • GameModeShareHandler

      public GameModeShareHandler(MultiverseInventories inventories, org.bukkit.entity.Player player, org.bukkit.GameMode fromGameMode, org.bukkit.GameMode toGameMode)
  • Method Details

    • createEvent

      protected ShareHandlingEvent createEvent()
    • prepareProfiles

      protected void prepareProfiles()
    • handleSharing

      public CompletableFuture<Void> handleSharing()
      Finalizes the transfer from one world to another. This handles the switching inventories/stats for a player and persisting the changes.
    • logBypass

      protected void logBypass()