mirror of
https://github.com/LuckPerms/LuckPerms.git
synced 2024-11-24 19:46:32 +01:00
Cancel messaging task when the message is sent
This commit is contained in:
parent
327c8b83be
commit
247871f678
@ -72,6 +72,7 @@ public class BungeeMessagingService extends AbstractMessagingService implements
|
||||
Player p = Iterables.getFirst(players, null);
|
||||
this.channel.sendTo(p, buf -> buf.writeUTF(message));
|
||||
|
||||
task.cancel();
|
||||
}).submit(plugin);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user