small fixes
This commit is contained in:
@@ -18,7 +18,7 @@ import java.util.stream.Collectors;
|
||||
|
||||
public class ItemStackList implements IItemStackList {
|
||||
private ArrayListMultimap<Item, ItemStack> stacks = ArrayListMultimap.create();
|
||||
protected List<ItemStack> removeTracker = new LinkedList<>();
|
||||
private List<ItemStack> removeTracker = new LinkedList<>();
|
||||
|
||||
@Override
|
||||
public void add(ItemStack stack) {
|
||||
|
||||
@@ -19,7 +19,8 @@ import java.util.List;
|
||||
public class GuiCraftingMonitor extends GuiBase {
|
||||
public class CraftingMonitorElementDrawers extends ElementDrawers {
|
||||
private IElementDrawer<Integer> overlayDrawer = (x, y, colour) -> {
|
||||
GlStateManager.color(1, 1, 1);
|
||||
GlStateManager.color(1, 1, 1, 1);
|
||||
GlStateManager.disableLighting();
|
||||
drawRect(x, y, x + ITEM_WIDTH, y + ITEM_HEIGHT - 1, colour);
|
||||
};
|
||||
|
||||
|
||||
@@ -26,7 +26,8 @@ import java.util.List;
|
||||
public class GuiCraftingPreview extends GuiBase {
|
||||
public class CraftingPreviewElementDrawers extends ElementDrawers {
|
||||
private IElementDrawer<Integer> overlayDrawer = (x, y, colour) -> {
|
||||
GlStateManager.color(1, 1, 1);
|
||||
GlStateManager.color(1, 1, 1, 1);
|
||||
GlStateManager.disableLighting();
|
||||
drawRect(x, y, x + 67, y + 29, colour);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user