Add links for messages and other commands

This commit is contained in:
Matthew Messinger 2016-01-01 21:20:27 -05:00
parent 104feb2973
commit 577f607b5f
1 changed files with 11 additions and 0 deletions

View File

@ -0,0 +1,11 @@
--- ../src-base/minecraft/net/minecraft/command/CommandBase.java
+++ ../src-work/minecraft/net/minecraft/command/CommandBase.java
@@ -329,7 +329,7 @@
ichatcomponent.func_150258_a(" ");
}
- IChatComponent ichatcomponent1 = new ChatComponentText(p_147176_1_[i]);
+ IChatComponent ichatcomponent1 = net.minecraftforge.common.ForgeHooks.newChatWithLinks(p_147176_1_[i]); // Forge: links for messages
if (p_147176_3_)
{