Skip to content

Commit bfc6322

Browse files
committed
Init creatures again, auto-generate version.txt
1 parent 1eb27fa commit bfc6322

File tree

3 files changed

+10
-2
lines changed

3 files changed

+10
-2
lines changed

build.xml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,14 @@
4848
</jar>
4949
</target>
5050

51-
<target name="dist" depends="jar" >
51+
<target name="-get-version" unless="version">
52+
<exec executable="git" outputproperty="version">
53+
<arg value="describe" />
54+
</exec>
55+
</target>
56+
57+
<target name="dist" depends="jar,-get-version">
58+
<echo file="files/version.txt">${version}${line.separator}</echo>
5259
<copy todir="${dist}">
5360
<fileset dir="files">
5461
<include name="*.sql" />

files/version.txt

Lines changed: 0 additions & 1 deletion
This file was deleted.

src/Mob.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ public Mob(String mob) {
3535
*/
3636
public Mob(String mob, World world) {
3737
this((OEntityLiving) OEntityList.a(mob, world.getWorld()));
38+
// SRG this.getEntity().func_110161_a((OEntityLivingData) null);
39+
this.getEntity().a((OEntityLivingData) null);
3840
}
3941

4042
/**

0 commit comments

Comments
 (0)