fix build failing

This commit is contained in:
Bella 2020-03-09 22:03:03 -04:00
parent 577a5a9abf
commit ea4e53a2aa
No known key found for this signature in database
GPG Key ID: 03B01AC937D1C89C
2 changed files with 3 additions and 8 deletions

View File

@ -337,11 +337,11 @@ public class AntiSpam extends Module {
};
private static final String[] SPECIAL_BEGINNING = {
"^[.,/?!()\\[\\]{}<>«»⏐|\\-+=\\\\]", // the <> don't filter as the player name is removed when matching
"^[.,/?!()\\[\\]{}<>|\\-+=\\\\]", // the <> don't filter as the player name is removed when matching
};
private static final String[] SPECIAL_ENDING = {
"[/@#^()\\[\\]{}<>«»⏐|\\-+=\\\\]",
"[/@#^()\\[\\]{}<>|\\-+=\\\\]",
};
private static final String[] OWN_MESSAGE = {

View File

@ -107,12 +107,7 @@ public class InventoryViewer extends Module {
GlStateManager.disableDepth();
// }
if (coloredBackground.getValue()) { // 1 == 2 px in game
int colour = 0;
colour |= (r.getValue() << 16);
colour |= (g.getValue() << 8);
colour |= b.getValue();
colour |= (a.getValue() << 24);
Gui.drawRect(x, y, x + 162, y + 54, colour);
Gui.drawRect(x, y, x + 162, y + 54, settingsToInt(r.getValue(), g.getValue(), b.getValue(), a.getValue()));
}
ResourceLocation box = getBox();
mc.renderEngine.bindTexture(box);