[ci skip] spotlessApply with the new settings

This commit is contained in:
Jason Mitchell committed 2023-01-29 12:54:15 -08:00
1 parent a711c0495e
commit 21f9083d10
83 files changed
+1855 -2448

No files matched your search

+2 -4
View File
@@ -8,14 +8,12 @@ import net.minecraft.util.ChatComponentText;
*
* @author progwml6
*/
public class PlayerUtils
{
public class PlayerUtils {
/**
* Sends a given message to a specific player (due to 1.7 axing addChatMessage())
*/
public static void sendChatMessage (EntityPlayer p, String message)
{
public static void sendChatMessage(EntityPlayer p, String message) {
if (p != null && message != null && !message.isEmpty())
p.addChatComponentMessage(new ChatComponentText(message));
}