Improve it a bit more

This commit is contained in:
modmuss50 2017-12-29 18:15:27 +00:00
parent 1d6c6139ec
commit 5c16978e4d
No known key found for this signature in database
GPG key ID: 773D17BE8BF49C82

View file

@ -199,7 +199,7 @@ public class GuiSlotConfiguration {
ConfigSlotElement slotElement = slotElementMap.get(slectedSlot); ConfigSlotElement slotElement = slotElementMap.get(slectedSlot);
//I have no idea why this works, but it does. pls fix if you know how. //I have no idea why this works, but it does. pls fix if you know how.
list.add(new Rectangle(slotElement.adjustX(guiBase, slotElement.getX()) + guiBase.getGuiLeft(), slotElement.adjustY(guiBase, 0), slotElement.getWidth() - 20, slotElement.getHeight())); list.add(new Rectangle(slotElement.adjustX(guiBase, slotElement.getX()) + guiBase.getGuiLeft() - 25, slotElement.adjustY(guiBase, 0) -10, slotElement.getWidth() - 5, slotElement.getHeight() + 15));
return list; return list;
} }