mirror of
https://github.com/Aust1n46/VentureChat.git
synced 2026-01-08 02:00:59 +00:00
Commented the custom event sequence for future reference
This commit is contained in:
@@ -460,8 +460,11 @@ public class ChatListener implements Listener {
|
||||
String message = consoleChat.replaceAll("(§([a-z0-9]))", "");
|
||||
int hash = message.hashCode();
|
||||
|
||||
//Create VentureChatEvent
|
||||
VentureChatEvent ventureChatEvent = new VentureChatEvent(mcp, eventChannel, recipients, format, chat, globalJSON, hash, bungee);
|
||||
//Fire event and wait for other plugin listeners to act on it
|
||||
Bukkit.getServer().getPluginManager().callEvent(ventureChatEvent);
|
||||
//Call method to send the processed chat
|
||||
handleVentureChatEvent(ventureChatEvent);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user