diff --git a/fml/build.xml b/fml/build.xml
index 7a621fd60..c86f6ca29 100644
--- a/fml/build.xml
+++ b/fml/build.xml
@@ -26,7 +26,7 @@
-
+
@@ -68,7 +68,6 @@
-
@@ -214,4 +213,44 @@
+
+
+
+
+
+ You have decided not to continue. This script will stop now.
+ Preparing the MCP environment at ${mcp.home}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Moving old patched sources at ${mcp.home}/src-work out of the way
+
+
+
+ Deleting old patch references at ${mcp.home}/src-base
+
+ Creating new patch references at ${mcp.home}/src-base
+
+
+
+ Creating clean patch references at ${mcp.home}/src-work
+
+
+
+
+
+ Setup complete! You should now be able to open ${basedir}/eclipse as a workspace in eclipse and import/refresh the FML-Server and FML-Client projects
+
+
diff --git a/fml/common/cpw/mods/fml/common/ProxyInjector.java b/fml/common/cpw/mods/fml/common/ProxyInjector.java
index fdf8f3e2c..7b16a552a 100644
--- a/fml/common/cpw/mods/fml/common/ProxyInjector.java
+++ b/fml/common/cpw/mods/fml/common/ProxyInjector.java
@@ -34,24 +34,24 @@ public class ProxyInjector
this.bukkitName = bukkitName;
this.target = target;
}
-
+
public boolean isValidFor(Side type)
{
if (type == Side.CLIENT)
{
return !this.clientName.isEmpty();
- }
+ }
else if (type == Side.SERVER)
{
return !this.serverName.isEmpty();
}
else if (type == Side.BUKKIT)
{
- return this.bukkitName.isEmpty();
+ return !this.bukkitName.isEmpty();
}
return false;
}
-
+
public void inject(ModContainer mod, Side side)
{
String targetType = side == Side.CLIENT ? clientName : serverName;