skill issue tbh
This commit is contained in:
parent
145ca7cc4c
commit
4e574ec48f
|
@ -79,8 +79,8 @@ public abstract class Mod {
|
|||
}
|
||||
|
||||
public boolean isEnabled() { return enabled; }
|
||||
public boolean isHasSetting() { return hasSetting; }
|
||||
public String gdoeoetveavee() { return name; }
|
||||
public boolean doesHaveSetting() { return hasSetting; }
|
||||
public String getName() { return name; }
|
||||
public Category getCategory() { return category; }
|
||||
|
||||
public void setName(String name) { this.name = name; }
|
||||
|
|
|
@ -68,7 +68,7 @@ public class ClickGUI extends GuiScreen {
|
|||
for (Mod m : Resent.INSTANCE.modManager.modsInCategory(selectedCategory) ) {
|
||||
int fh = 9;
|
||||
|
||||
if (isMouseInside(mouseX, mouseY, this.x + 90 + xo - 1 + 10, height - 2 - fh * -(off) + 51 - 1 - offset, this.x + 90 + xo - 1 + 21, height + 30 - fh * (-off) + 30 - 1 + 2 - 1 - offset) && m.doesHaveSettinging() && openedMod == null) {
|
||||
if (isMouseInside(mouseX, mouseY, this.x + 90 + xo - 1 + 10, height - 2 - fh * -(off) + 51 - 1 - offset, this.x + 90 + xo - 1 + 21, height + 30 - fh * (-off) + 30 - 1 + 2 - 1 - offset) && m.doesHaveSetting() && openedMod == null) {
|
||||
// Open settings
|
||||
this.openedMod = m;
|
||||
} else if (isMouseInside(mouseX, mouseY, x - 9 + 2, height + 27 + 9 + 2, x - 9 + 6 + fr.getStringWidth("<"), height + 33 + 9 + 2 + fr.getStringWidth("<")) && mouseButton == 0) {
|
||||
|
@ -213,7 +213,7 @@ public class ClickGUI extends GuiScreen {
|
|||
);
|
||||
}
|
||||
|
||||
if (m.doesHaveSettinging()) {
|
||||
if (m.doesHaveSetting()) {
|
||||
GlStateManager.enableBlend();
|
||||
this.mc.getTextureManager().bindTexture(new ResourceLocation("eagler:gui/gear.png"));
|
||||
Gui.drawModalRectWithCustomSizedTexture(this.x + 99 + xo, height - 2 - fh * -(off) + 51 + 1 - offset, 0, 0, 8, 8, 8, 8);
|
||||
|
|
Loading…
Reference in New Issue
Block a user