diff --git a/build.gradle b/build.gradle index 8227ea7..1013cb9 100644 --- a/build.gradle +++ b/build.gradle @@ -20,7 +20,7 @@ plugins { id "net.minecraftforge.gradle.forge" version "2.0.2" } */ -version = "2.7" +version = "2.7.1" group= "uk.co.mysterymayhem.gravitymod" // http://maven.apache.org/guides/mini/guide-naming-conventions.html archivesBaseName = "UpAndDownAndAllAround" targetCompatibility = "1.8" diff --git a/src/main/java/uk/co/mysterymayhem/gravitymod/GravityMod.java b/src/main/java/uk/co/mysterymayhem/gravitymod/GravityMod.java index 127ef43..402794c 100644 --- a/src/main/java/uk/co/mysterymayhem/gravitymod/GravityMod.java +++ b/src/main/java/uk/co/mysterymayhem/gravitymod/GravityMod.java @@ -37,7 +37,7 @@ public class GravityMod { private static final int MINOR_VERSION = 7; // Indicates a non-breaking change in the mod // Different patch numbers but the same major and minor version should be compatible with one another - private static final int PATCH_NUMBER = 0; + private static final int PATCH_NUMBER = 1; // M.m.p public static final String VERSION = "" + MAJOR_VERSION + '.' + MINOR_VERSION + '.' + PATCH_NUMBER; diff --git a/src/main/java/uk/co/mysterymayhem/gravitymod/client/listeners/EntityRenderListener.java b/src/main/java/uk/co/mysterymayhem/gravitymod/client/listeners/EntityRenderListener.java index 997569e..dc02289 100644 --- a/src/main/java/uk/co/mysterymayhem/gravitymod/client/listeners/EntityRenderListener.java +++ b/src/main/java/uk/co/mysterymayhem/gravitymod/client/listeners/EntityRenderListener.java @@ -8,7 +8,6 @@ import net.minecraft.util.math.Vec3i; import net.minecraftforge.client.event.RenderLivingEvent; import net.minecraftforge.client.event.RenderPlayerEvent; -import net.minecraftforge.fml.common.FMLLog; import net.minecraftforge.fml.common.eventhandler.EventPriority; import net.minecraftforge.fml.common.eventhandler.SubscribeEvent; import net.minecraftforge.fml.relauncher.Side; @@ -78,8 +77,8 @@ public static void onRender(RenderPlayerEvent.Pre event) { EntityPlayer player = event.getEntityPlayer(); AxisAlignedBB entityBoundingBox = player.getEntityBoundingBox(); if (!(entityBoundingBox instanceof GravityAxisAlignedBB)) { - //Not good - FMLLog.bigWarning("Tried rendering player %s, but their bounding box was not a GravityAxisAlignedBB", player.getName()); + // Either this mod is completely non-functional for some reason, or another mod has extended EntityPlayer and overridden the methods that set up + // bounding boxes return; } GravityAxisAlignedBB gAABB = (GravityAxisAlignedBB)entityBoundingBox;