mirror of
https://github.com/GTNewHorizons/NotEnoughItems.git
synced 2026-11-17 02:55:04 +00:00
fix bookmark group with groupIds bigger than 127
This commit is contained in:
1 parent
3b3227b09d
commit
89bf12611c
1 file changed
+3
-3
@@ -195,12 +195,12 @@ public class BookmarkPanel extends PanelWidget {
|
||||
protected static class ItemStackMetadata {
|
||||
|
||||
public int factor;
|
||||
public Integer groupId;
|
||||
public int groupId;
|
||||
public BookmarkRecipeId recipeId;
|
||||
public boolean ingredient = false;
|
||||
public boolean fluidDisplay = false;
|
||||
|
||||
public ItemStackMetadata(BookmarkRecipeId recipeId, int factor, boolean ingredient, Integer groupId,
|
||||
public ItemStackMetadata(BookmarkRecipeId recipeId, int factor, boolean ingredient, int groupId,
|
||||
boolean fluidDisplay) {
|
||||
this.recipeId = recipeId;
|
||||
this.factor = factor;
|
||||
@@ -209,7 +209,7 @@ public class BookmarkPanel extends PanelWidget {
|
||||
this.fluidDisplay = fluidDisplay;
|
||||
}
|
||||
|
||||
public ItemStackMetadata(BookmarkRecipeId recipeId, NBTTagCompound nbTag, boolean ingredient, Integer groupId) {
|
||||
public ItemStackMetadata(BookmarkRecipeId recipeId, NBTTagCompound nbTag, boolean ingredient, int groupId) {
|
||||
this(recipeId, nbTag.getInteger("Count"), ingredient, groupId, nbTag.hasKey("gtFluidName"));
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user