mirror of
https://github.com/ViaVersion/ViaAprilFools.git
synced 2024-11-15 10:35:12 +01:00
Fix impl version string
This commit is contained in:
parent
3e2533f7c2
commit
5eb1f5730c
@ -100,7 +100,7 @@ public ProtocolVersion getClientProtocol(UserConnection connection) {
|
||||
if (version.getVersionType() == VersionType.SPECIAL) {
|
||||
return ProtocolVersion.getProtocol(VersionType.SPECIAL, version.getOriginalVersion());
|
||||
} else {
|
||||
return delegate.getClientProtocol(connection);
|
||||
return super.getClientProtocol(connection);
|
||||
}
|
||||
}
|
||||
```
|
||||
|
@ -14,7 +14,7 @@ sourceSets {
|
||||
main {
|
||||
classTokenReplacer {
|
||||
property("\${version}", project.version)
|
||||
property("\${impl_version}", "git-${rootProject.name}-${project.version}:${rootProject.latestCommitHash()}")
|
||||
property("\${impl_version}", "git-ViaAprilFools-${project.version}:${rootProject.latestCommitHash()}")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user