Fuzzy now supports the ore dictionary again.

This commit is contained in:
AlgorithmX2
2014-02-12 23:24:07 -06:00
parent 0a3474291c
commit 7f773f0d2b
6 changed files with 217 additions and 16 deletions
+8
View File
@@ -79,6 +79,8 @@ import appeng.server.AccessType;
import appeng.util.item.AEItemStack;
import appeng.util.item.AESharedNBT;
import appeng.util.item.ItemList;
import appeng.util.item.OreHelper;
import appeng.util.item.OreRefrence;
import buildcraft.api.tools.IToolWrench;
import com.mojang.authlib.GameProfile;
@@ -1078,6 +1080,12 @@ public class Platform
}
}
OreRefrence aOR = OreHelper.instance.isOre( a );
OreRefrence bOR = OreHelper.instance.isOre( b );
if ( OreHelper.instance.sameOre( aOR, bOR ) )
return true;
/*
* // test ore dictionary.. int OreID = getOreID( a ); if ( OreID != -1 ) return OreID == getOreID( b );
*