Update #51 - Protocol and FPS improvements, better workspace

This commit is contained in:
lax1dude
2025-05-18 15:01:06 -07:00
parent 71c61e33fd
commit 325a6826bf
1191 changed files with 9266 additions and 187695 deletions

View File

@ -39,7 +39,6 @@ import net.lax1dude.eaglercraft.v1_8.socket.protocol.pkt.server.SPacketNotifBadg
import net.lax1dude.eaglercraft.v1_8.socket.protocol.pkt.server.SPacketNotifIconsRegisterV4EAG;
import net.lax1dude.eaglercraft.v1_8.socket.protocol.pkt.server.SPacketNotifIconsReleaseV4EAG;
import net.lax1dude.eaglercraft.v1_8.socket.protocol.util.PacketImageData;
import net.minecraft.client.Minecraft;
import net.minecraft.client.renderer.texture.TextureManager;
import net.minecraft.util.IChatComponent;
@ -56,8 +55,8 @@ public class ServerNotificationManager {
private final TextureManager textureMgr;
protected int unreadCounter = 0;
public ServerNotificationManager() {
this.textureMgr = Minecraft.getMinecraft().getTextureManager();
public ServerNotificationManager(TextureManager textureMgr) {
this.textureMgr = textureMgr;
}
public void processPacketAddIcons(SPacketNotifIconsRegisterV4EAG packet) {