commit
739b4f8432
2 changed files with 2 additions and 9 deletions
|
@ -139,10 +139,7 @@ public class CraftGuide extends CraftGuideAPIObject implements IIntegrationModul
|
||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
if ( errCount == -1 )
|
if ( errCount++ >= 5 )
|
||||||
{
|
|
||||||
}
|
|
||||||
else if ( errCount++ >= 5 )
|
|
||||||
{
|
{
|
||||||
CraftGuideLog
|
CraftGuideLog
|
||||||
.log( "CraftGuide DefaultRecipeProvider: Stack trace limit reached, further stack traces from this invocation will not be logged to the console. They will still be logged to (.minecraft)/config/CraftGuide/CraftGuide.log",
|
.log( "CraftGuide DefaultRecipeProvider: Stack trace limit reached, further stack traces from this invocation will not be logged to the console. They will still be logged to (.minecraft)/config/CraftGuide/CraftGuide.log",
|
||||||
|
|
|
@ -271,11 +271,7 @@ public class ToolMassCannon extends AEBasePoweredItem implements IStorageCell
|
||||||
return;
|
return;
|
||||||
|
|
||||||
Block whatsThere = w.getBlock( x, y, z );
|
Block whatsThere = w.getBlock( x, y, z );
|
||||||
if ( whatsThere == AEApi.instance().blocks().blockPaint.block() )
|
if ( whatsThere.isReplaceable( w, x, y, z ) && w.isAirBlock( x, y, z ) )
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
||||||
else if ( whatsThere.isReplaceable( w, x, y, z ) && w.isAirBlock( x, y, z ) )
|
|
||||||
{
|
{
|
||||||
w.setBlock( x, y, z, AEApi.instance().blocks().blockPaint.block(), 0, 3 );
|
w.setBlock( x, y, z, AEApi.instance().blocks().blockPaint.block(), 0, 3 );
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue