From 185664df8d07314a6b08f7f9c200c89bd7fc339e Mon Sep 17 00:00:00 2001 From: Furgl Date: Mon, 16 Jan 2017 17:05:57 -0600 Subject: [PATCH] v1.5.4 --- build.gradle | 2 +- src/main/java/furgl/babyMobs/common/BabyMobs.java | 2 +- .../common/entity/projectile/EntityWitherWitherSkull.java | 2 +- src/main/resources/mcmod.info | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/build.gradle b/build.gradle index 3499b6f..0c276b0 100644 --- a/build.gradle +++ b/build.gradle @@ -11,7 +11,7 @@ apply plugin: 'net.minecraftforge.gradle.forge' //Only edit below this line, the above code adds and enables the nessasary things for Forge to be setup. -version = "1.11-1.5.3" +version = "1.11-1.5.4" group= "furgl.babyMobs" // http://maven.apache.org/guides/mini/guide-naming-conventions.html archivesBaseName = "BabyMobs" diff --git a/src/main/java/furgl/babyMobs/common/BabyMobs.java b/src/main/java/furgl/babyMobs/common/BabyMobs.java index a3f54cc..54cabac 100644 --- a/src/main/java/furgl/babyMobs/common/BabyMobs.java +++ b/src/main/java/furgl/babyMobs/common/BabyMobs.java @@ -37,7 +37,7 @@ public class BabyMobs { public static final String MODID = "babymobs"; public static final String MODNAME = "Baby Mobs"; - public static final String VERSION = "1.5.3"; + public static final String VERSION = "1.5.4"; @Mod.Instance(MODID) public static BabyMobs instance; @SidedProxy(clientSide = "furgl.babyMobs.client.ClientProxy", serverSide = "furgl.babyMobs.common.CommonProxy") diff --git a/src/main/java/furgl/babyMobs/common/entity/projectile/EntityWitherWitherSkull.java b/src/main/java/furgl/babyMobs/common/entity/projectile/EntityWitherWitherSkull.java index 5a5edb4..b3f6a6a 100644 --- a/src/main/java/furgl/babyMobs/common/entity/projectile/EntityWitherWitherSkull.java +++ b/src/main/java/furgl/babyMobs/common/entity/projectile/EntityWitherWitherSkull.java @@ -21,7 +21,7 @@ public EntityWitherWitherSkull(World world, EntityLivingBase entitylivingbase, d protected void onImpact(RayTraceResult mop) { super.onImpact(mop); - if (!this.worldObj.isRemote) + if (!this.worldObj.isRemote && this.shootingEntity != null) { for (int i=0; i<7; i++) { diff --git a/src/main/resources/mcmod.info b/src/main/resources/mcmod.info index 45c81e2..fff7e29 100644 --- a/src/main/resources/mcmod.info +++ b/src/main/resources/mcmod.info @@ -3,7 +3,7 @@ "modid": "babymobs", "name": "Baby Mobs", "description": "Adds baby versions of many vanilla monsters, each with its own special abilities.", - "version": "1.5.3", + "version": "1.5.4", "mcversion": "1.11", "url": "https://sites.google.com/site/furglsmods/baby-mobs", "updateUrl": "",