From 4def201daad9d9ddb26594bb74de6c9c6cce2269 Mon Sep 17 00:00:00 2001
From: Alexander Brandes <mc.cache@web.de>
Date: Sat, 26 Aug 2023 17:13:24 +0200
Subject: [PATCH] Adapt new test methods

---
 build.gradle.kts                                             | 2 +-
 .../test/java/com/sk89q/wepif/TestOfflinePermissible.java    | 5 +++++
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/build.gradle.kts b/build.gradle.kts
index 3f6169bb7..90f33890d 100644
--- a/build.gradle.kts
+++ b/build.gradle.kts
@@ -52,7 +52,7 @@ ext {
     }
 }
 
-version = String.format("%s-%s", rootVersion, buildNumber)
+version = String.format("%s", rootVersion)
 
 if (!project.hasProperty("gitCommitHash")) {
     apply(plugin = "org.ajoberstar.grgit")
diff --git a/worldedit-bukkit/src/test/java/com/sk89q/wepif/TestOfflinePermissible.java b/worldedit-bukkit/src/test/java/com/sk89q/wepif/TestOfflinePermissible.java
index c63e98663..052c772d5 100644
--- a/worldedit-bukkit/src/test/java/com/sk89q/wepif/TestOfflinePermissible.java
+++ b/worldedit-bukkit/src/test/java/com/sk89q/wepif/TestOfflinePermissible.java
@@ -144,6 +144,11 @@ public class TestOfflinePermissible implements OfflinePlayer, Permissible {
         return false;
     }
 
+    @Override
+    public boolean isConnected() {
+        return false;
+    }
+
     @Override
     public String getName() {
         return "Tester";