Skip to content

Commit

Permalink
make static
Browse files Browse the repository at this point in the history
  • Loading branch information
GrahamKracker committed Dec 11, 2024
1 parent 301d543 commit d0e12c4
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,7 @@ private void updateSlots(Slot slot) {
}
}

@SuppressWarnings("DataFlowIssue")
protected final ItemStack disabledItem = new ItemBuilder(Items.BARRIER).hideAdditionalTooltips().set(CookiesDataComponentTypes.ITEM_CLICK_RUNNABLE, Runnables.doNothing())
protected static final ItemStack disabledItem = new ItemBuilder(Items.BARRIER).hideAdditionalTooltips().set(CookiesDataComponentTypes.ITEM_CLICK_RUNNABLE, Runnables.doNothing())
.setName(Text.translatable(DROP_PROTECTION_MESSAGE).setStyle(Style.EMPTY.withColor(Formatting.RED).withItalic(false).withBold(true))).set(DataComponentTypes.RARITY, Rarity.COMMON).build();

private void handleRejectButton(ItemStack rejectStack, boolean applyProtection) {
Expand Down

0 comments on commit d0e12c4

Please sign in to comment.