Added Meteorite Spawn Distance Setting.
Added Charged Quartz Spawn Chance. All GUI's Parts/Tiles support Custom Localization. ( Fixes #0190 ) Added Crafting Recipe for copying Press Plates. Fixed Bug: #0189 - Particles don't turn off when set to minimal Fixed Bug: #0176 - Weird Colorization While Mining Parts. Fixed Bug: #0152 - TPane drops parts as items and does not insert into system. Fixed Bug: #0140 - Spatial pylon facade renders oddly (Clear)
This commit is contained in:
@@ -21,7 +21,7 @@ public class FacadeConfig extends Configuration
|
||||
replacementPattern = Pattern.compile( "[^a-zA-Z0-9]" );
|
||||
}
|
||||
|
||||
public boolean checkEnabled(Block id, boolean automatic)
|
||||
public boolean checkEnabled(Block id, int metadata, boolean automatic)
|
||||
{
|
||||
if ( id == null )
|
||||
return false;
|
||||
@@ -34,7 +34,7 @@ public class FacadeConfig extends Configuration
|
||||
try
|
||||
{
|
||||
if ( f.get( Block.class ) == id )
|
||||
return get( "minecraft", f.getName(), automatic ).getBoolean( automatic );
|
||||
return get( "minecraft", f.getName() + (metadata == 0 ? "" : "." + metadata), automatic ).getBoolean( automatic );
|
||||
}
|
||||
catch (Throwable e)
|
||||
{
|
||||
@@ -46,7 +46,7 @@ public class FacadeConfig extends Configuration
|
||||
{
|
||||
Matcher mod = replacementPattern.matcher( blk.modId );
|
||||
Matcher name = replacementPattern.matcher( blk.name );
|
||||
return get( mod.replaceAll( "" ), name.replaceAll( "" ), automatic ).getBoolean( automatic );
|
||||
return get( mod.replaceAll( "" ), name.replaceAll( "" ) + (metadata == 0 ? "" : "." + metadata), automatic ).getBoolean( automatic );
|
||||
}
|
||||
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user