Skip to content

Commit 4cba807

Browse files
committed
Fix implementation version
1 parent cfbe287 commit 4cba807

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

common/src/main/java/com/viaversion/viabackwards/api/ViaBackwardsPlatform.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@
5555
import com.viaversion.viabackwards.protocol.protocol1_9_1_2to1_9_3_4.Protocol1_9_1_2To1_9_3_4;
5656
import com.viaversion.viabackwards.protocol.protocol1_9_4to1_10.Protocol1_9_4To1_10;
5757
import com.viaversion.viabackwards.protocol.protocol1_9to1_9_1.Protocol1_9To1_9_1;
58+
import com.viaversion.viabackwards.utils.VersionInfo;
5859
import com.viaversion.viaversion.api.Via;
5960
import com.viaversion.viaversion.api.protocol.ProtocolManager;
6061
import com.viaversion.viaversion.api.protocol.version.ProtocolVersion;
@@ -66,7 +67,6 @@
6667
public interface ViaBackwardsPlatform {
6768

6869
String MINIMUM_VV_VERSION = "4.8.0";
69-
String IMPL_VERSION = "$IMPL_VERSION";
7070

7171
/**
7272
* Initialize ViaBackwards.
@@ -82,7 +82,7 @@ default void init(File dataFolder) {
8282
return;
8383
}
8484

85-
Via.getManager().getSubPlatforms().add(IMPL_VERSION);
85+
Via.getManager().getSubPlatforms().add(VersionInfo.getImplementationVersion());
8686

8787
getLogger().info("Loading translations...");
8888
TranslatableRewriter.loadTranslatables();

0 commit comments

Comments
 (0)