Compare commits

...
2 changed files with 3 additions and 4 deletions

No files matched your search

@@ -1277,7 +1277,7 @@ public class BookmarkPanel extends PanelWidget {
} else {
BookmarkRecipeId recipeId = null;
if (!handlerName.isEmpty() && ingredients != null) {
if (handlerName != null && !handlerName.isEmpty() && ingredients != null) {
recipeId = new BookmarkRecipeId(handlerName, ingredients);
}
@@ -1285,7 +1285,7 @@ public class BookmarkPanel extends PanelWidget {
if (idx != -1) {
BGrid.removeRecipe(idx, saveIngredients);
} else if (saveIngredients && !handlerName.isEmpty() && ingredients != null) {
} else if (saveIngredients && handlerName != null && !handlerName.isEmpty() && ingredients != null) {
BookmarkRecipe recipe = new BookmarkRecipe(stackover);
recipe.handlerName = handlerName;
+1 -2
View File
@@ -528,11 +528,10 @@ public class ItemPanel extends PanelWidget implements IContainerTooltipHandler {
List<String> currenttip) {
final ItemPanelGrid panelGrid = ((ItemPanelGrid) this.grid);
if (!panelGrid.forceExpand) {
if (!panelGrid.forceExpand && !NEIClientConfig.isHidden() && !currenttip.isEmpty()) {
final ItemPanelSlot hoverSlot = getSlotMouseOver(mousex, mousey);
if (hoverSlot != null) {
final MaskMetadata metadata = panelGrid.maskMetadata.get(hoverSlot.slotIndex);
if (metadata != null) {