Class TitleUpdater

java.lang.Object
io.github.rysefoxx.inventory.plugin.util.TitleUpdater

public final class TitleUpdater extends Object
A utility class for update the inventory of a player. This is useful to change the title of an inventory.
  • Constructor Details

    • TitleUpdater

      public TitleUpdater()
  • Method Details

    • updateInventory

      public static void updateInventory(org.bukkit.entity.Player player, String newTitle)
      Update the player inventory, so you can change the title.
      Parameters:
      player - whose inventory will be updated.
      newTitle - the new title for the inventory.