diff options
author | OneEyeMaker <oneeyemaker@gmail.com> | 2016-07-26 07:42:29 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-07-26 07:42:29 +0300 |
commit | 4c20885d144e5b2eaa7177668f71a32ecc694b9f (patch) | |
tree | 939330459ab8f5df90b9339e0fbfe90aac292c9a /src/main/java/gregtech/api/util/GT_BaseCrop.java | |
parent | be3a6292bb02d5aef5d8fd8052b53394743b0b00 (diff) | |
parent | 3abf4381db1dd9b528ec8c0df7fbeecc8d00fd35 (diff) | |
download | GT5-Unofficial-4c20885d144e5b2eaa7177668f71a32ecc694b9f.tar.gz GT5-Unofficial-4c20885d144e5b2eaa7177668f71a32ecc694b9f.tar.bz2 GT5-Unofficial-4c20885d144e5b2eaa7177668f71a32ecc694b9f.zip |
Merge pull request #3 from Blood-Asp/experimental
Update changes
Diffstat (limited to 'src/main/java/gregtech/api/util/GT_BaseCrop.java')
-rw-r--r-- | src/main/java/gregtech/api/util/GT_BaseCrop.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/gregtech/api/util/GT_BaseCrop.java b/src/main/java/gregtech/api/util/GT_BaseCrop.java index 304a0f3c62..c106816ba2 100644 --- a/src/main/java/gregtech/api/util/GT_BaseCrop.java +++ b/src/main/java/gregtech/api/util/GT_BaseCrop.java @@ -7,7 +7,7 @@ import gregtech.api.enums.ConfigCategories; import gregtech.api.enums.Materials; import gregtech.api.enums.OrePrefixes; import gregtech.api.objects.ItemData; -import gregtech.common.blocks.GT_Block_Ores; +import gregtech.common.blocks.GT_Block_Ores_Abstract; import gregtech.common.blocks.GT_TileEntity_Ores; import ic2.api.crops.CropCard; import ic2.api.crops.Crops; @@ -200,7 +200,7 @@ public class GT_BaseCrop extends CropCard implements ICropCardInfo { } for (int i = 1; i < this.getrootslength(aCrop); i++) { Block tBlock = aCrop.getWorld().getBlock(aCrop.getLocation().posX, aCrop.getLocation().posY - i, aCrop.getLocation().posZ); - if ((tBlock instanceof GT_Block_Ores)) { + if ((tBlock instanceof GT_Block_Ores_Abstract)) { TileEntity tTileEntity = aCrop.getWorld().getTileEntity(aCrop.getLocation().posX, aCrop.getLocation().posY - i, aCrop.getLocation().posZ); if ((tTileEntity instanceof GT_TileEntity_Ores)) { Materials tMaterial = GregTech_API.sGeneratedMaterials[(((GT_TileEntity_Ores) tTileEntity).mMetaData % 1000)]; |