From 183c317b8319fae9fe2f37035c137753aaccde1e Mon Sep 17 00:00:00 2001 From: Jadar Date: Mon, 6 Jan 2014 10:25:13 -0600 Subject: [PATCH 1/3] added override toString method for getting full name. --- .../java/cpw/mods/fml/common/registry/GameRegistry.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/fml/src/main/java/cpw/mods/fml/common/registry/GameRegistry.java b/fml/src/main/java/cpw/mods/fml/common/registry/GameRegistry.java index 06ad4e5ed6..77110de308 100644 --- a/fml/src/main/java/cpw/mods/fml/common/registry/GameRegistry.java +++ b/fml/src/main/java/cpw/mods/fml/common/registry/GameRegistry.java @@ -363,6 +363,12 @@ public class GameRegistry final UniqueIdentifier other = (UniqueIdentifier) obj; return Objects.equal(modId, other.modId) && Objects.equal(name, other.name); } + + @Override + public String toString() + { + return String.format("%s:%s", modId, name); + } } /** From 37b0797e3edc47d53a07d7b35551b1a97ad5b79a Mon Sep 17 00:00:00 2001 From: Jadar Date: Mon, 6 Jan 2014 11:09:34 -0600 Subject: [PATCH 2/3] changed the readme to reflect new setup task. --- fml/README.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fml/README.txt b/fml/README.txt index 1935ba6973..82952f1212 100644 --- a/fml/README.txt +++ b/fml/README.txt @@ -80,7 +80,7 @@ Standalone source installation ============================== To install this source code for development purposes, extract this zip file. -It ships with a demonstration mod. Run "gradle setupDevWorkspace" to create +It ships with a demonstration mod. Run "gradle setupFML" to create a gradle environment primed with FML. Run gradle eclipse or gradle idea to create an IDE workspace of your choice. Refer to ForgeGradle for more information about the gradle environment From 13c998ae5e4ffe785b77a296d400a10611ee4c21 Mon Sep 17 00:00:00 2001 From: Jadar Date: Mon, 6 Jan 2014 15:58:10 -0600 Subject: [PATCH 3/3] undid readme change --- fml/README.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fml/README.txt b/fml/README.txt index 82952f1212..1935ba6973 100644 --- a/fml/README.txt +++ b/fml/README.txt @@ -80,7 +80,7 @@ Standalone source installation ============================== To install this source code for development purposes, extract this zip file. -It ships with a demonstration mod. Run "gradle setupFML" to create +It ships with a demonstration mod. Run "gradle setupDevWorkspace" to create a gradle environment primed with FML. Run gradle eclipse or gradle idea to create an IDE workspace of your choice. Refer to ForgeGradle for more information about the gradle environment