mirror of
https://hub.spigotmc.org/stash/scm/spigot/bukkit.git
synced 2025-04-13 09:41:09 +00:00
#1087: Improve InventoryViewBuilder chaining
This commit is contained in:
parent
3d4295ccbf
commit
ea0b2d1cf5
2 changed files with 8 additions and 0 deletions
|
@ -17,6 +17,10 @@ public interface LocationInventoryViewBuilder<V extends InventoryView> extends I
|
|||
@Override
|
||||
LocationInventoryViewBuilder<V> copy();
|
||||
|
||||
@NotNull
|
||||
@Override
|
||||
LocationInventoryViewBuilder<V> title(@NotNull final String title);
|
||||
|
||||
/**
|
||||
* Determines whether or not the server should check if the player can reach
|
||||
* the location.
|
||||
|
|
|
@ -18,6 +18,10 @@ public interface MerchantInventoryViewBuilder<V extends InventoryView> extends I
|
|||
@Override
|
||||
MerchantInventoryViewBuilder<V> copy();
|
||||
|
||||
@NotNull
|
||||
@Override
|
||||
MerchantInventoryViewBuilder<V> title(@NotNull final String title);
|
||||
|
||||
/**
|
||||
* Adds a merchant to this builder
|
||||
*
|
||||
|
|
Loading…
Add table
Reference in a new issue