diff --git a/pom.xml b/pom.xml
index 52b325d..621faac 100755
--- a/pom.xml
+++ b/pom.xml
@@ -31,21 +31,17 @@
- Alttd-Nexus
- http://leo:8081/
+ AlttdRepo-snapshots
+ Altitude Maven Repo
+ https://repo.destro.xyz/snapshots
-
-
-
-
-
-
+
com.alttd
- galaxy-api
- 1.17-R0.1-SNAPSHOT
+ Galaxy-API
+ 1.18.1-R0.1-SNAPSHOT
\ No newline at end of file
diff --git a/src/main/java/com/alttd/afkdectector/command/AFKCheckCommand.java b/src/main/java/com/alttd/afkdectector/command/AFKCheckCommand.java
index 57c0054..186dfda 100755
--- a/src/main/java/com/alttd/afkdectector/command/AFKCheckCommand.java
+++ b/src/main/java/com/alttd/afkdectector/command/AFKCheckCommand.java
@@ -36,10 +36,6 @@ public class AFKCheckCommand implements CommandExecutor, TabCompleter {
sender.sendMessage(Component.text(command.getUsage(), NamedTextColor.RED));
return true;
}
- if (!(target instanceof Audience)) {
- sender.sendMessage(Component.text(command.getUsage(), NamedTextColor.RED));
- return true;
- }
MiniMessage miniMessage = MiniMessage.get();
target.showTitle(Title.title(miniMessage.parse(Messages.AFKCHECKTITLE.getMessage()),
miniMessage.parse(Messages.AFKCHECKSUBTITLE.getMessage())));
diff --git a/src/main/resources/plugin.yml b/src/main/resources/plugin.yml
index a2611dc..86acea8 100755
--- a/src/main/resources/plugin.yml
+++ b/src/main/resources/plugin.yml
@@ -1,7 +1,7 @@
main: com.alttd.afkdectector.AFKDetector
name: AFKDetector
version: 2.0
-api-version: 1.16
+api-version: 1.18
author: Destro174
description: Checks if a player is afk.