diff options
Diffstat (limited to 'src/Java/miscutil/gregtech/api/util/IMessage.java')
-rw-r--r-- | src/Java/miscutil/gregtech/api/util/IMessage.java | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/src/Java/miscutil/gregtech/api/util/IMessage.java b/src/Java/miscutil/gregtech/api/util/IMessage.java deleted file mode 100644 index 4a1fa2d684..0000000000 --- a/src/Java/miscutil/gregtech/api/util/IMessage.java +++ /dev/null @@ -1,21 +0,0 @@ -package miscutil.gregtech.api.util; - -import net.minecraft.client.Minecraft; -import net.minecraft.util.ChatComponentText; - -public class IMessage { - - public static void messageThePlayer(String s){ - if(Minecraft.getMinecraft().thePlayer.worldObj.isRemote){ - Minecraft.getMinecraft().thePlayer.addChatComponentMessage(new ChatComponentText(s)); - } - else if(!Minecraft.getMinecraft().thePlayer.worldObj.isRemote){ - Minecraft.getMinecraft().thePlayer.addChatComponentMessage(new ChatComponentText(s)); - } - } - - public void messageOtherPlayer(String s){ - Minecraft.getMinecraft().thePlayer.addChatComponentMessage(new ChatComponentText(s)); - } - -} |