small fixes

This commit is contained in:
way2muchnoise
2016-10-29 20:19:18 +02:00
parent bc298e354c
commit 3362e24a3c
3 changed files with 5 additions and 3 deletions

View File

@@ -18,7 +18,7 @@ import java.util.stream.Collectors;
public class ItemStackList implements IItemStackList { public class ItemStackList implements IItemStackList {
private ArrayListMultimap<Item, ItemStack> stacks = ArrayListMultimap.create(); private ArrayListMultimap<Item, ItemStack> stacks = ArrayListMultimap.create();
protected List<ItemStack> removeTracker = new LinkedList<>(); private List<ItemStack> removeTracker = new LinkedList<>();
@Override @Override
public void add(ItemStack stack) { public void add(ItemStack stack) {

View File

@@ -19,7 +19,8 @@ import java.util.List;
public class GuiCraftingMonitor extends GuiBase { public class GuiCraftingMonitor extends GuiBase {
public class CraftingMonitorElementDrawers extends ElementDrawers { public class CraftingMonitorElementDrawers extends ElementDrawers {
private IElementDrawer<Integer> overlayDrawer = (x, y, colour) -> { 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); drawRect(x, y, x + ITEM_WIDTH, y + ITEM_HEIGHT - 1, colour);
}; };

View File

@@ -26,7 +26,8 @@ import java.util.List;
public class GuiCraftingPreview extends GuiBase { public class GuiCraftingPreview extends GuiBase {
public class CraftingPreviewElementDrawers extends ElementDrawers { public class CraftingPreviewElementDrawers extends ElementDrawers {
private IElementDrawer<Integer> overlayDrawer = (x, y, colour) -> { 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); drawRect(x, y, x + 67, y + 29, colour);
}; };