mirror of
https://github.com/Minestom/Minestom.git
synced 2025-01-28 02:51:42 +01:00
Annotation in InventoryClickProcessor
This commit is contained in:
parent
5224eecdd1
commit
ed46bd0dc2
@ -491,6 +491,7 @@ public class InventoryClickProcessor {
|
|||||||
return clickResult;
|
return clickResult;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@NotNull
|
||||||
private InventoryClickResult startCondition(@NotNull InventoryClickResult clickResult, @Nullable Inventory inventory,
|
private InventoryClickResult startCondition(@NotNull InventoryClickResult clickResult, @Nullable Inventory inventory,
|
||||||
@NotNull Player player, int slot, @NotNull ClickType clickType,
|
@NotNull Player player, int slot, @NotNull ClickType clickType,
|
||||||
ItemStack clicked, ItemStack cursor) {
|
ItemStack clicked, ItemStack cursor) {
|
||||||
@ -559,6 +560,7 @@ public class InventoryClickProcessor {
|
|||||||
return clickResult;
|
return clickResult;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@NotNull
|
||||||
private InventoryClickResult startCondition(@Nullable Inventory inventory, @NotNull Player player, int slot,
|
private InventoryClickResult startCondition(@Nullable Inventory inventory, @NotNull Player player, int slot,
|
||||||
@NotNull ClickType clickType, ItemStack clicked, ItemStack cursor) {
|
@NotNull ClickType clickType, ItemStack clicked, ItemStack cursor) {
|
||||||
final InventoryClickResult clickResult = new InventoryClickResult(clicked, cursor);
|
final InventoryClickResult clickResult = new InventoryClickResult(clicked, cursor);
|
||||||
|
Loading…
Reference in New Issue
Block a user