tweaks, new desc

This commit is contained in:
FeuSalamander 2023-04-30 21:06:07 +02:00
parent c093c1d747
commit 7822d224db
3 changed files with 7 additions and 7 deletions

View File

@ -6,12 +6,12 @@
<groupId>Vmessage</groupId>
<artifactId>Vmessage</artifactId>
<version>1.4</version>
<version>1.5.3</version>
<packaging>jar</packaging>
<name>Vmessage</name>
<description>A velocity plugin that creates a multiserver chat for the networth</description>
<description>A velocity plugin that creates a global chat for the network</description>
<properties>
<java.version>11</java.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
@ -38,7 +38,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.2.0</version>
<version>3.2.1</version>
<executions>
<execution>
<id>attach-javadocs</id>
@ -141,7 +141,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.2.0</version>
<version>3.5.0</version>
</plugin>
</plugins>
</reporting>
@ -174,6 +174,7 @@
<groupId>net.william278</groupId>
<artifactId>PAPIProxyBridge</artifactId>
<version>1.0</version>
<scope>provided</scope>
</dependency>
</dependencies>
</project>

View File

@ -141,9 +141,8 @@ public final class Listeners {
private String placeholder(String message, final Player player){
if(placeholderAPI == null)return message;
UUID p = player.getUniqueId();
AtomicReference<String> formated = new AtomicReference<>("");
placeholderAPI.formatPlaceholders("Hello %player_name%!", p).thenAccept(formatedd -> {proxyServer.sendMessage(Component.text("test: "+formatedd));});
return formated.get();
return message;
}
public void message(final Player p, final String m) {
final boolean permission = p.hasPermission("vmessage.minimessage");
@ -175,4 +174,4 @@ public final class Listeners {
}
}
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 MiB