main #10
8
pom.xml
8
pom.xml
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
<groupId>net.t2code</groupId>
|
<groupId>net.t2code</groupId>
|
||||||
<artifactId>T2CodeLib</artifactId>
|
<artifactId>T2CodeLib</artifactId>
|
||||||
<version>13.2</version>
|
<version>13.3_DEV</version>
|
||||||
<packaging>jar</packaging>
|
<packaging>jar</packaging>
|
||||||
|
|
||||||
<name>T2CodeLib</name>
|
<name>T2CodeLib</name>
|
||||||
@ -86,12 +86,12 @@
|
|||||||
<id>BenCodez Repo</id>
|
<id>BenCodez Repo</id>
|
||||||
<url>https://nexus.bencodez.com/repository/maven-public/</url>
|
<url>https://nexus.bencodez.com/repository/maven-public/</url>
|
||||||
</repository>
|
</repository>
|
||||||
<!--Kyori MiniMessage-->
|
<!--Kyori MiniMessage
|
||||||
|
|
||||||
<repository>
|
<repository>
|
||||||
<id>sonatype-oss-snapshots1</id>
|
<id>sonatype-oss-snapshots1</id>
|
||||||
<url>https://s01.oss.sonatype.org/content/repositories/snapshots/</url>
|
<url>https://s01.oss.sonatype.org/content/repositories/snapshots/</url>
|
||||||
</repository>
|
</repository>-->
|
||||||
</repositories>
|
</repositories>
|
||||||
|
|
||||||
|
|
||||||
@ -145,7 +145,7 @@
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>net.kyori</groupId>
|
<groupId>net.kyori</groupId>
|
||||||
<artifactId>adventure-platform-bukkit</artifactId>
|
<artifactId>adventure-platform-bukkit</artifactId>
|
||||||
<version>4.1.3-SNAPSHOT</version>
|
<version>4.1.2</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
</project>
|
</project>
|
||||||
|
@ -16,6 +16,7 @@ public class T2CminiMessage {
|
|||||||
public static void sendMiniMessage(String msg) {
|
public static void sendMiniMessage(String msg) {
|
||||||
T2CodeLibMain.adventure().console().sendMessage(replace(msg));
|
T2CodeLibMain.adventure().console().sendMessage(replace(msg));
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void miniMessage(String msg, Player player) {
|
public static void miniMessage(String msg, Player player) {
|
||||||
T2CodeLibMain.adventure().player(player).sendMessage(replace(msg));
|
T2CodeLibMain.adventure().player(player).sendMessage(replace(msg));
|
||||||
}
|
}
|
||||||
|
@ -159,6 +159,7 @@ public final class T2CodeLibMain extends JavaPlugin {
|
|||||||
if (adventure == null) {
|
if (adventure == null) {
|
||||||
throw new IllegalStateException("Tried to access Adventure when the plugin was disabled!");
|
throw new IllegalStateException("Tried to access Adventure when the plugin was disabled!");
|
||||||
}
|
}
|
||||||
|
Bukkit.getConsoleSender().sendMessage(Util.getPrefix() + " Adventure load");
|
||||||
return adventure;
|
return adventure;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user