Annotation in InventoryClickProcessor

This commit is contained in:
themode 2020-12-16 03:51:13 +01:00
parent 5224eecdd1
commit ed46bd0dc2

View File

@ -491,6 +491,7 @@ public class InventoryClickProcessor {
return clickResult;
}
@NotNull
private InventoryClickResult startCondition(@NotNull InventoryClickResult clickResult, @Nullable Inventory inventory,
@NotNull Player player, int slot, @NotNull ClickType clickType,
ItemStack clicked, ItemStack cursor) {
@ -559,6 +560,7 @@ public class InventoryClickProcessor {
return clickResult;
}
@NotNull
private InventoryClickResult startCondition(@Nullable Inventory inventory, @NotNull Player player, int slot,
@NotNull ClickType clickType, ItemStack clicked, ItemStack cursor) {
final InventoryClickResult clickResult = new InventoryClickResult(clicked, cursor);