Compare commits

..
Author SHA1 Message Date
slprime e97a2d110e Tooltip shown when shift is held 2022-08-17 23:47:47 +03:00
@@ -489,10 +489,12 @@ public class GuiContainerManager {
if (stack != null) {
tooltip = itemDisplayNameMultiline(stack, window, true);
final String itemCount = itemCountDetails(stack);
if (stack.stackSize != Integer.MAX_VALUE && NEIClientUtils.shiftKey()) {
final String itemCount = itemCountDetails(stack);
if (itemCount != null) {
tooltip.add(String.format(EnumChatFormatting.GRAY + itemCount + EnumChatFormatting.RESET));
if (itemCount != null) {
tooltip.add(String.format(EnumChatFormatting.GRAY + itemCount + EnumChatFormatting.RESET));
}
}
}