Adapt new test methods

This commit is contained in:
Alexander Brandes 2023-08-26 17:13:24 +02:00
parent 6f9c3c3e01
commit 4def201daa
No known key found for this signature in database
GPG Key ID: 158F5701A6AAD00C
2 changed files with 6 additions and 1 deletions

View File

@ -52,7 +52,7 @@ ext {
} }
} }
version = String.format("%s-%s", rootVersion, buildNumber) version = String.format("%s", rootVersion)
if (!project.hasProperty("gitCommitHash")) { if (!project.hasProperty("gitCommitHash")) {
apply(plugin = "org.ajoberstar.grgit") apply(plugin = "org.ajoberstar.grgit")

View File

@ -144,6 +144,11 @@ public class TestOfflinePermissible implements OfflinePlayer, Permissible {
return false; return false;
} }
@Override
public boolean isConnected() {
return false;
}
@Override @Override
public String getName() { public String getName() {
return "Tester"; return "Tester";