mirror of
https://github.com/plexusorg/Plex.git
synced 2025-07-04 08:46:41 +00:00
tttt
This commit is contained in:
17
src/main/java/dev/plex/util/PlexLog.java
Normal file
17
src/main/java/dev/plex/util/PlexLog.java
Normal file
@ -0,0 +1,17 @@
|
||||
package dev.plex.util;
|
||||
|
||||
import org.bukkit.Bukkit;
|
||||
import org.bukkit.ChatColor;
|
||||
|
||||
public class PlexLog
|
||||
{
|
||||
public static void log(String message)
|
||||
{
|
||||
Bukkit.getConsoleSender().sendMessage(String.format(ChatColor.YELLOW + "[Plex] " + ChatColor.GRAY + "%s", message));
|
||||
}
|
||||
|
||||
public static void error(String message)
|
||||
{
|
||||
Bukkit.getConsoleSender().sendMessage(String.format(ChatColor.RED + "[Plex Error]" + ChatColor.GOLD + "%s", message));
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user