From 35d642b51697adf6180a123e2962b925cc56bc01 Mon Sep 17 00:00:00 2001 From: Toad-Dev <748280+Toad-Dev@users.noreply.github.com> Date: Tue, 7 Dec 2021 20:04:13 -0800 Subject: [PATCH] Fix _HOST variable showing incorrect MC version. --- .../computercraft/shared/computer/core/ServerComputer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/dan200/computercraft/shared/computer/core/ServerComputer.java b/src/main/java/dan200/computercraft/shared/computer/core/ServerComputer.java index e63bf35e5..2627144b7 100644 --- a/src/main/java/dan200/computercraft/shared/computer/core/ServerComputer.java +++ b/src/main/java/dan200/computercraft/shared/computer/core/ServerComputer.java @@ -340,7 +340,7 @@ public class ServerComputer extends ServerTerminal implements IComputer, IComput @Override public String getHostString() { - return String.format( "ComputerCraft %s (Minecraft %s)", ComputerCraftAPI.getInstalledVersion(), SharedConstants.getCurrentVersion() ); + return String.format( "ComputerCraft %s (Minecraft %s)", ComputerCraftAPI.getInstalledVersion(), SharedConstants.VERSION_STRING ); } @Nonnull