Skip to content

Commit

Permalink
Port to 1.9.4
Browse files Browse the repository at this point in the history
  • Loading branch information
ata4 committed Aug 11, 2016
1 parent 47a42bc commit e3e7dd6
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -36,15 +36,15 @@ def getGitTag = { ->
}

minecraft {
version = "1.9-12.16.1.1887"
version = "1.9.4-12.17.0.1922-1.9.4"
runDir = "minecraft"

// the mappings can be changed at any time, and must be in the following format.
// snapshot_YYYYMMDD snapshot are built nightly.
// stable_# stables are built at the discretion of the MCP team.
// Use non-default mappings at your own risk. they may not allways work.
// simply re-run your setup task after changing the mappings to update your workspace.
mappings = "stable_20"
mappings = "snapshot_20160518"
}

version = getGitTag()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
*
* @author Nico Bergemann <barracuda415 at yahoo.de>
*/
@MCVersion(value = "1.9")
@MCVersion(value = "1.9.4")
public class MineshotCore implements IFMLLoadingPlugin {

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public static void print(String msg, TextFormatting format, Object... args) {

GuiNewChat chat = MC.ingameGUI.getChatGUI();
TextComponentTranslation ret = new TextComponentTranslation(msg, args);
ret.getChatStyle().setColor(format);
ret.getStyle().setColor(format);

chat.printChatMessage(ret);
}
Expand All @@ -52,8 +52,8 @@ public static void printFileLink(String msg, File file) {
path = file.getAbsolutePath();
}

text.getChatStyle().setChatClickEvent(new ClickEvent(OPEN_FILE, path));
text.getChatStyle().setUnderlined(true);
text.getStyle().setClickEvent(new ClickEvent(OPEN_FILE, path));
text.getStyle().setUnderlined(true);

print(msg, text);
}
Expand Down

0 comments on commit e3e7dd6

Please sign in to comment.