aboutsummaryrefslogtreecommitdiff
path: root/src/main/java
diff options
context:
space:
mode:
authorNopoTheGamer <40329022+NopoTheGamer@users.noreply.github.com>2022-10-19 21:40:19 +0000
committerGitHub <noreply@github.com>2022-10-19 17:40:19 -0400
commit90d3fcd1667f12fe0bfe3e311c4739266274a620 (patch)
tree074275975c2fd9a86eb2d7a054e8c4f403c11eae /src/main/java
parent2d29717e7d83f851df40410540515fae51bb7550 (diff)
downloadNotEnoughUpdates-90d3fcd1667f12fe0bfe3e311c4739266274a620.tar.gz
NotEnoughUpdates-90d3fcd1667f12fe0bfe3e311c4739266274a620.tar.bz2
NotEnoughUpdates-90d3fcd1667f12fe0bfe3e311c4739266274a620.zip
Added optifine to /neustats (#380)
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/io/github/moulberry/notenoughupdates/commands/dev/StatsCommand.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/java/io/github/moulberry/notenoughupdates/commands/dev/StatsCommand.java b/src/main/java/io/github/moulberry/notenoughupdates/commands/dev/StatsCommand.java
index 756afc88..943adda6 100644
--- a/src/main/java/io/github/moulberry/notenoughupdates/commands/dev/StatsCommand.java
+++ b/src/main/java/io/github/moulberry/notenoughupdates/commands/dev/StatsCommand.java
@@ -31,6 +31,7 @@ import net.minecraft.util.BlockPos;
import net.minecraft.util.ChatComponentText;
import net.minecraft.util.EnumChatFormatting;
import net.minecraftforge.common.ForgeVersion;
+import net.minecraftforge.fml.client.FMLClientHandler;
import net.minecraftforge.fml.common.Loader;
import org.lwjgl.opengl.Display;
import org.lwjgl.opengl.GL11;
@@ -164,6 +165,7 @@ public class StatsCommand extends ClientCommandBase {
builder.append("FPS", String.valueOf(Minecraft.getDebugFPS()));
builder.append("Loaded Mods", String.valueOf(activeModCount));
builder.append("Forge", ForgeVersion.getVersion());
+ builder.append("Optifine", FMLClientHandler.instance().hasOptifine() ? "TRUE" : "FALSE");
builder.category("Neu Settings");
builder.append("API Key", NotEnoughUpdates.INSTANCE.config.apiData.apiKey.isEmpty() ? "FALSE" : "TRUE");
builder.append("On Skyblock", NotEnoughUpdates.INSTANCE.hasSkyblockScoreboard() ? "TRUE" : "FALSE");