mirror of
https://github.com/GTNewHorizons/FindIt.git
synced 2026-11-24 18:24:21 +00:00
Remove hard-dependency on GregTech (#10)
* Update buildscript * Make GregTech a soft-dependency * Small cleanup
This commit is contained in:
1 parent
f31f2e3adf
commit
f6eb09de3a
13 files changed
+451
-87
No files matched your search
@@ -37,7 +37,7 @@ public class BlockFindService {
|
||||
}
|
||||
|
||||
int tileMeta;
|
||||
if (tileEntity instanceof IGregTechTileEntity) {
|
||||
if (FindIt.isGregTechLoaded() && tileEntity instanceof IGregTechTileEntity) {
|
||||
tileMeta = ((IGregTechTileEntity) tileEntity).getMetaTileID();
|
||||
} else {
|
||||
tileMeta = tileEntity.getBlockMetadata();
|
||||
|
||||
Reference in new issue
Block a user