mirror of
https://github.com/darksaid98/Carbon.git
synced 2026-12-02 06:28:54 +00:00
Use alternatives to deprecated methods
This commit is contained in:
1 parent
d5a61a5c81
commit
622dea220a
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -76,7 +76,7 @@ public class PluginMessageManager implements PluginMessageListener {
|
||||
|
||||
String chatMessage = in.readUTF();
|
||||
|
||||
Bukkit.getScheduler().scheduleAsyncDelayedTask(simpleChat, () -> {
|
||||
Bukkit.getScheduler().runTaskAsynchronously(simpleChat, () -> {
|
||||
chatChannel.sendMessage(user, chatMessage, true);
|
||||
});
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user