Merge branch 'master' of https://github.com/BuildCraft/BuildCraft
This commit is contained in:
commit
782995b035
1 changed files with 6 additions and 4 deletions
|
@ -62,10 +62,12 @@ public class StackHelper {
|
|||
|
||||
if(oreDictionary) {
|
||||
int idBase = OreDictionary.getOreID(base);
|
||||
int idComp = OreDictionary.getOreID(comparison);
|
||||
if(idBase >= 0 && idComp >= 0) {
|
||||
if(idBase == idComp)
|
||||
return true;
|
||||
if(idBase >= 0) {
|
||||
int idComp = OreDictionary.getOreID(comparison);
|
||||
if(idComp >= 0) {
|
||||
if(idBase == idComp)
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue