Another wrench focus fix.

Dependency Updated: AE2-rv3-beta-1
Fixes #248 - Focus now interacts with caches properly.
This commit is contained in:
Chris committed 2015-12-24 22:25:21 -05:00
1 parent e59dae0e96
commit 6b6f41bb30
4 files changed
+11 -6

No files matched your search

+3 -2
View File
@@ -1,6 +1,6 @@
12/24/2015 0.9.1.0 - Alpha
12/24/2015 0.9.0.4 - Alpha
Dependency Updated: Forge 10.13.4.1558
Dependency Updated: AE2-rv3-13
Dependency Updated: AE2-rv3-beta-1
Merged pull request #255 - Keridos
Merged pull request #252 - Aquahatsche
Fixed #255 TODO's
@@ -8,6 +8,7 @@
Fixes compatibility with Thaumic Tinkerer.
Fixes #249 - Capacity can be checked on any essentia container, inject now respects essentia the container would not take.
Fixes issue with Technomancy(and any other mods that use my API) where essentia was voided when mod container is full.
Fixes #248 - Focus now interacts with caches properly.
10/13/2015 0.9.0.0 - Alpha
Dependency Updated: AE2-rv3-9
+1 -1
View File
@@ -17,7 +17,7 @@ buildscript {
apply plugin: 'forge'
version = "0.9.1.0"
version = "0.9.0.4"
group= "thaumicenergistics" // http://maven.apache.org/guides/mini/guide-naming-conventions.html
archivesBaseName = "thaumicenergistics"
@@ -26,7 +26,7 @@ import cpw.mods.fml.common.event.FMLPostInitializationEvent;
import cpw.mods.fml.common.event.FMLPreInitializationEvent;
import cpw.mods.fml.common.network.NetworkRegistry;
@Mod(modid = ThaumicEnergistics.MOD_ID, name = "Thaumic Energistics", version = ThaumicEnergistics.VERSION, dependencies = "required-after:appliedenergistics2@[rv3-alpha-9,);required-after:Thaumcraft@[4.2.3.5,);after:Waila;after:extracells")
@Mod(modid = ThaumicEnergistics.MOD_ID, name = "Thaumic Energistics", version = ThaumicEnergistics.VERSION, dependencies = "required-after:appliedenergistics2@[rv3-beta-1,);required-after:Thaumcraft@[4.2.3.5,);after:Waila;after:extracells")
public class ThaumicEnergistics
{
/**
@@ -42,7 +42,7 @@ public class ThaumicEnergistics
/**
* Current version of the mod.
*/
public static final String VERSION = "0.9.1.0"; // Note: don't forget to change the build.gradle file as well
public static final String VERSION = "0.9.0.4"; // Note: don't forget to change the build.gradle file as well
/**
* Singleton instance
@@ -154,7 +154,7 @@ public class ItemFocusAEWrench
CommonHelper.proxy.updateRenderMode( player );
// Set the eye height
PartPlacement.setEyeHeight(eyeHeight);
PartPlacement.setEyeHeight( eyeHeight );
// Wrench the target
PartPlacement.place( wrench, position.blockX, position.blockY, position.blockZ, position.sideHit, player, player.worldObj,
@@ -211,6 +211,10 @@ public class ItemFocusAEWrench
// Ignore pedestals
return false;
}
else if( te.getClass().getName().contains( "Cache" ) )
{
player.setSneaking( false );
}
// Is the block an part host?
boolean isPartHost = ( te instanceof IPartHost );