Update build.xml - add a classpath to the manifest. This means the universal jar is now a server side launcher.
This commit is contained in:
parent
ce138ec571
commit
9b1375f536
2 changed files with 1 additions and 1 deletions
|
@ -173,6 +173,7 @@
|
||||||
<jar destfile="${basedir}/target/${universal.jarname}.zip" duplicate="preserve">
|
<jar destfile="${basedir}/target/${universal.jarname}.zip" duplicate="preserve">
|
||||||
<manifest>
|
<manifest>
|
||||||
<attribute name="Main-Class" value="net.minecraft.server.MinecraftServer"/>
|
<attribute name="Main-Class" value="net.minecraft.server.MinecraftServer"/>
|
||||||
|
<attribute name="Class-Path" value="minecraft_server.jar"/>
|
||||||
</manifest>
|
</manifest>
|
||||||
<fileset dir="${client.mcp.obfoutput}" includes="**/*.class" />
|
<fileset dir="${client.mcp.obfoutput}" includes="**/*.class" />
|
||||||
<zipfileset dir="${basedir}" includes="fmlversion.properties"/>
|
<zipfileset dir="${basedir}" includes="fmlversion.properties"/>
|
||||||
|
|
|
@ -76,6 +76,5 @@ public class MockMod
|
||||||
public void init(FMLInitializationEvent evt)
|
public void init(FMLInitializationEvent evt)
|
||||||
{
|
{
|
||||||
System.out.printf("Hello from mockmod init : %s %s %s\n", myInstance, meta, MockBlock.tstInstance);
|
System.out.printf("Hello from mockmod init : %s %s %s\n", myInstance, meta, MockBlock.tstInstance);
|
||||||
proxy.throwError();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue