Class TitleUpdater
java.lang.Object
io.github.rysefoxx.inventory.plugin.util.TitleUpdater
A utility class for update the inventory of a player.
This is useful to change the title of an inventory.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidupdateInventory(org.bukkit.entity.Player player, String newTitle) Update the player inventory, so you can change the title.
-
Constructor Details
-
TitleUpdater
public TitleUpdater()
-
-
Method Details
-
updateInventory
Update the player inventory, so you can change the title.- Parameters:
player- whose inventory will be updated.newTitle- the new title for the inventory.
-