mirror of
https://github.com/GTNewHorizons/Mantle.git
synced 2026-11-28 07:35:44 +00:00
[ci skip] spotlessApply with the new settings
This commit is contained in:
1 parent
a711c0495e
commit
21f9083d10
83 files changed
+1855
-2448
No files matched your search
@@ -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));
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user