small bug fix
@ -162,18 +162,19 @@ public class GuiNewChat extends Gui
|
|||||||
|
|
||||||
this.field_146253_i.add(0, new ChatLine(p_146237_3_, ichatcomponent, p_146237_2_));
|
this.field_146253_i.add(0, new ChatLine(p_146237_3_, ichatcomponent, p_146237_2_));
|
||||||
}
|
}
|
||||||
|
Chat mod = (Chat) Athena.INSTANCE.getModuleManager().get(Chat.class);
|
||||||
|
|
||||||
while (this.field_146253_i.size() > 100)
|
if(!mod.isToggled() && !mod.infiniteChat) {
|
||||||
{
|
|
||||||
this.field_146253_i.remove(this.field_146253_i.size() - 1);
|
while (this.field_146253_i.size() > 100) {
|
||||||
|
this.field_146253_i.remove(this.field_146253_i.size() - 1);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!p_146237_4_)
|
if (!p_146237_4_)
|
||||||
{
|
{
|
||||||
this.chatLines.add(0, new ChatLine(p_146237_3_, p_146237_1_, p_146237_2_));
|
this.chatLines.add(0, new ChatLine(p_146237_3_, p_146237_1_, p_146237_2_));
|
||||||
|
|
||||||
Chat mod = (Chat) Athena.INSTANCE.getModuleManager().get(Chat.class);
|
|
||||||
|
|
||||||
if(!mod.isToggled() && !mod.infiniteChat) {
|
if(!mod.isToggled() && !mod.infiniteChat) {
|
||||||
while (this.chatLines.size() > 100) {
|
while (this.chatLines.size() > 100) {
|
||||||
this.chatLines.remove(this.chatLines.size() - 1);
|
this.chatLines.remove(this.chatLines.size() - 1);
|
||||||
|
@ -4,6 +4,8 @@ import rip.athena.client.config.ConfigValue;
|
|||||||
import rip.athena.client.modules.Category;
|
import rip.athena.client.modules.Category;
|
||||||
import rip.athena.client.modules.Module;
|
import rip.athena.client.modules.Module;
|
||||||
|
|
||||||
|
import java.awt.*;
|
||||||
|
|
||||||
public class Settings extends Module {
|
public class Settings extends Module {
|
||||||
|
|
||||||
@ConfigValue.Boolean(name = "F5 Nametags", description = "Shows your own nametags in f5 mode")
|
@ConfigValue.Boolean(name = "F5 Nametags", description = "Shows your own nametags in f5 mode")
|
||||||
@ -19,7 +21,6 @@ public class Settings extends Module {
|
|||||||
super("General Settings", Category.HIDDEN, "Athena/gui/mods/fps.png");
|
super("General Settings", Category.HIDDEN, "Athena/gui/mods/fps.png");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onEnable() {
|
public void onEnable() {
|
||||||
super.onEnable();
|
super.onEnable();
|
||||||
|
@ -3,6 +3,7 @@ package rip.athena.client.theme.impl;
|
|||||||
import lombok.AllArgsConstructor;
|
import lombok.AllArgsConstructor;
|
||||||
import lombok.Getter;
|
import lombok.Getter;
|
||||||
import net.minecraft.util.EnumChatFormatting;
|
import net.minecraft.util.EnumChatFormatting;
|
||||||
|
import rip.athena.client.modules.impl.other.Settings;
|
||||||
import rip.athena.client.utils.render.ColorUtil;
|
import rip.athena.client.utils.render.ColorUtil;
|
||||||
|
|
||||||
import javax.vecmath.Vector2d;
|
import javax.vecmath.Vector2d;
|
||||||
|
After Width: | Height: | Size: 1.7 KiB |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 942 B |
After Width: | Height: | Size: 794 B |
After Width: | Height: | Size: 383 B |
After Width: | Height: | Size: 953 B |
After Width: | Height: | Size: 2.8 KiB |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 1.8 KiB |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 735 B |
After Width: | Height: | Size: 1.4 KiB |
After Width: | Height: | Size: 2.1 KiB |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 1.5 KiB |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 655 B |
After Width: | Height: | Size: 1.8 KiB |
After Width: | Height: | Size: 563 B |
After Width: | Height: | Size: 1.4 KiB |
After Width: | Height: | Size: 1.5 KiB |
After Width: | Height: | Size: 2.8 KiB |
After Width: | Height: | Size: 2.6 KiB |
After Width: | Height: | Size: 676 B |
After Width: | Height: | Size: 2.3 KiB |
After Width: | Height: | Size: 2.1 KiB |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 1.4 KiB |
After Width: | Height: | Size: 2.8 KiB |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 1.5 KiB |
After Width: | Height: | Size: 1.8 KiB |
After Width: | Height: | Size: 508 B |
After Width: | Height: | Size: 1.6 KiB |
After Width: | Height: | Size: 2.8 KiB |
After Width: | Height: | Size: 2.1 KiB |
After Width: | Height: | Size: 1000 B |
After Width: | Height: | Size: 942 B |
After Width: | Height: | Size: 2.0 KiB |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 1.4 KiB |
After Width: | Height: | Size: 1.3 KiB |
After Width: | Height: | Size: 2.5 KiB |
After Width: | Height: | Size: 2.3 KiB |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 3.1 KiB |
After Width: | Height: | Size: 983 B |
After Width: | Height: | Size: 700 B |
After Width: | Height: | Size: 847 B |
After Width: | Height: | Size: 1.3 KiB |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 1.7 KiB |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 1.5 KiB |
After Width: | Height: | Size: 1.3 KiB |
After Width: | Height: | Size: 1.7 KiB |
After Width: | Height: | Size: 702 B |
After Width: | Height: | Size: 2.4 KiB |
After Width: | Height: | Size: 1.3 KiB |
After Width: | Height: | Size: 2.4 KiB |
After Width: | Height: | Size: 2.1 KiB |
After Width: | Height: | Size: 1.6 KiB |
After Width: | Height: | Size: 1.3 KiB |
After Width: | Height: | Size: 2.0 KiB |
After Width: | Height: | Size: 1019 B |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 779 B |
After Width: | Height: | Size: 2.9 KiB |
After Width: | Height: | Size: 963 B |
After Width: | Height: | Size: 861 B |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 1.0 KiB |
After Width: | Height: | Size: 449 B |
After Width: | Height: | Size: 1.5 KiB |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 1.4 KiB |
After Width: | Height: | Size: 1.4 KiB |
After Width: | Height: | Size: 1023 B |
After Width: | Height: | Size: 856 B |
After Width: | Height: | Size: 291 B |
After Width: | Height: | Size: 2.1 KiB |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 1.3 KiB |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 1.3 KiB |
After Width: | Height: | Size: 2.1 KiB |
After Width: | Height: | Size: 1.3 KiB |
After Width: | Height: | Size: 1.4 KiB |
After Width: | Height: | Size: 2.8 KiB |
After Width: | Height: | Size: 1.4 KiB |
After Width: | Height: | Size: 589 B |