Update to 1.18.
This commit is contained in:
parent
6c35c704c3
commit
b7dd650052
16
pom.xml
16
pom.xml
|
|
@ -31,21 +31,17 @@
|
|||
|
||||
<repositories>
|
||||
<repository>
|
||||
<id>Alttd-Nexus</id>
|
||||
<url>http://leo:8081/</url>
|
||||
<id>AlttdRepo-snapshots</id>
|
||||
<name>Altitude Maven Repo</name>
|
||||
<url>https://repo.destro.xyz/snapshots</url>
|
||||
</repository>
|
||||
<!-- <repository> <!– can be removed when galaxy api is fixed, I fucked up when shading this in –>-->
|
||||
<!-- <id>dv8tion</id>-->
|
||||
<!-- <name>m2-dv8tion</name>-->
|
||||
<!-- <url>https://m2.dv8tion.net/releases</url>-->
|
||||
<!-- </repository>-->
|
||||
</repositories>
|
||||
|
||||
<dependencies>
|
||||
<dependency><!-- Galaxy -->
|
||||
<dependency>
|
||||
<groupId>com.alttd</groupId>
|
||||
<artifactId>galaxy-api</artifactId>
|
||||
<version>1.17-R0.1-SNAPSHOT</version>
|
||||
<artifactId>Galaxy-API</artifactId>
|
||||
<version>1.18.1-R0.1-SNAPSHOT</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</project>
|
||||
|
|
@ -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())));
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user