mirror of
https://github.com/LuckPerms/LuckPerms.git
synced 2024-11-24 19:46:32 +01:00
Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
b1ab857592
@ -119,7 +119,7 @@ public class VaultChatHook extends Chat {
|
|||||||
perms.log("Setting " + (prefix ? "prefix" : "suffix") + " for " + holder.getObjectName() + " on world " + world + ", server " + perms.getServer());
|
perms.log("Setting " + (prefix ? "prefix" : "suffix") + " for " + holder.getObjectName() + " on world " + world + ", server " + perms.getServer());
|
||||||
|
|
||||||
perms.getScheduler().scheduleTask(() -> {
|
perms.getScheduler().scheduleTask(() -> {
|
||||||
Node.Builder node = new NodeBuilder(prefix ? "prefix" : "suffix" + ".1000." + escapeCharacters(value));
|
Node.Builder node = new NodeBuilder((prefix ? "prefix" : "suffix") + ".1000." + escapeCharacters(value));
|
||||||
node.setValue(true);
|
node.setValue(true);
|
||||||
if (!perms.getServer().equalsIgnoreCase("global")) {
|
if (!perms.getServer().equalsIgnoreCase("global")) {
|
||||||
node.setServer(perms.getServer());
|
node.setServer(perms.getServer());
|
||||||
|
Loading…
Reference in New Issue
Block a user