File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
common/src/main/java/com/viaversion/viabackwards/api Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 55
55
import com .viaversion .viabackwards .protocol .protocol1_9_1_2to1_9_3_4 .Protocol1_9_1_2To1_9_3_4 ;
56
56
import com .viaversion .viabackwards .protocol .protocol1_9_4to1_10 .Protocol1_9_4To1_10 ;
57
57
import com .viaversion .viabackwards .protocol .protocol1_9to1_9_1 .Protocol1_9To1_9_1 ;
58
+ import com .viaversion .viabackwards .utils .VersionInfo ;
58
59
import com .viaversion .viaversion .api .Via ;
59
60
import com .viaversion .viaversion .api .protocol .ProtocolManager ;
60
61
import com .viaversion .viaversion .api .protocol .version .ProtocolVersion ;
66
67
public interface ViaBackwardsPlatform {
67
68
68
69
String MINIMUM_VV_VERSION = "4.8.0" ;
69
- String IMPL_VERSION = "$IMPL_VERSION" ;
70
70
71
71
/**
72
72
* Initialize ViaBackwards.
@@ -82,7 +82,7 @@ default void init(File dataFolder) {
82
82
return ;
83
83
}
84
84
85
- Via .getManager ().getSubPlatforms ().add (IMPL_VERSION );
85
+ Via .getManager ().getSubPlatforms ().add (VersionInfo . getImplementationVersion () );
86
86
87
87
getLogger ().info ("Loading translations..." );
88
88
TranslatableRewriter .loadTranslatables ();
You can’t perform that action at this time.
0 commit comments