Update to 1.18.
This commit is contained in:
parent
6c35c704c3
commit
b7dd650052
16
pom.xml
16
pom.xml
|
|
@ -31,21 +31,17 @@
|
||||||
|
|
||||||
<repositories>
|
<repositories>
|
||||||
<repository>
|
<repository>
|
||||||
<id>Alttd-Nexus</id>
|
<id>AlttdRepo-snapshots</id>
|
||||||
<url>http://leo:8081/</url>
|
<name>Altitude Maven Repo</name>
|
||||||
|
<url>https://repo.destro.xyz/snapshots</url>
|
||||||
</repository>
|
</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>
|
</repositories>
|
||||||
|
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<dependency><!-- Galaxy -->
|
<dependency>
|
||||||
<groupId>com.alttd</groupId>
|
<groupId>com.alttd</groupId>
|
||||||
<artifactId>galaxy-api</artifactId>
|
<artifactId>Galaxy-API</artifactId>
|
||||||
<version>1.17-R0.1-SNAPSHOT</version>
|
<version>1.18.1-R0.1-SNAPSHOT</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
</project>
|
</project>
|
||||||
|
|
@ -36,10 +36,6 @@ public class AFKCheckCommand implements CommandExecutor, TabCompleter {
|
||||||
sender.sendMessage(Component.text(command.getUsage(), NamedTextColor.RED));
|
sender.sendMessage(Component.text(command.getUsage(), NamedTextColor.RED));
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
if (!(target instanceof Audience)) {
|
|
||||||
sender.sendMessage(Component.text(command.getUsage(), NamedTextColor.RED));
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
MiniMessage miniMessage = MiniMessage.get();
|
MiniMessage miniMessage = MiniMessage.get();
|
||||||
target.showTitle(Title.title(miniMessage.parse(Messages.AFKCHECKTITLE.getMessage()),
|
target.showTitle(Title.title(miniMessage.parse(Messages.AFKCHECKTITLE.getMessage()),
|
||||||
miniMessage.parse(Messages.AFKCHECKSUBTITLE.getMessage())));
|
miniMessage.parse(Messages.AFKCHECKSUBTITLE.getMessage())));
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
main: com.alttd.afkdectector.AFKDetector
|
main: com.alttd.afkdectector.AFKDetector
|
||||||
name: AFKDetector
|
name: AFKDetector
|
||||||
version: 2.0
|
version: 2.0
|
||||||
api-version: 1.16
|
api-version: 1.18
|
||||||
author: Destro174
|
author: Destro174
|
||||||
|
|
||||||
description: Checks if a player is afk.
|
description: Checks if a player is afk.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user