diff options
author | Martin Robertz <dream-master@gmx.net> | 2021-05-31 19:24:09 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-31 19:24:09 +0200 |
commit | 9555f77feccabf92d3bcc20c985c2060e2455600 (patch) | |
tree | a3639161af91bd92f18ae6093724839633bed36d /src/main/java | |
parent | 3c8c3b4ca647e219a49c96a1775456967fb07501 (diff) | |
parent | 962fde9f4def61d9b477f46cbd71e4b2e4b26b57 (diff) | |
download | GT5-Unofficial-9555f77feccabf92d3bcc20c985c2060e2455600.tar.gz GT5-Unofficial-9555f77feccabf92d3bcc20c985c2060e2455600.tar.bz2 GT5-Unofficial-9555f77feccabf92d3bcc20c985c2060e2455600.zip |
Merge pull request #550 from GTNewHorizons/long-distance-pipe-warning
Remove false warning about missing texture
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/gregtech/api/items/GT_Block_LongDistancePipe.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/main/java/gregtech/api/items/GT_Block_LongDistancePipe.java b/src/main/java/gregtech/api/items/GT_Block_LongDistancePipe.java index 802a1e2ae3..12d69cd0ec 100644 --- a/src/main/java/gregtech/api/items/GT_Block_LongDistancePipe.java +++ b/src/main/java/gregtech/api/items/GT_Block_LongDistancePipe.java @@ -10,6 +10,7 @@ import gregtech.api.util.GT_LanguageManager; import gregtech.common.blocks.GT_Item_LongDistancePipe; import gregtech.common.blocks.GT_Material_Machines; import net.minecraft.block.Block; +import net.minecraft.client.renderer.texture.IIconRegister; import net.minecraft.creativetab.CreativeTabs; import net.minecraft.entity.Entity; import net.minecraft.entity.EnumCreatureType; @@ -89,6 +90,11 @@ public class GT_Block_LongDistancePipe extends GT_Generic_Block { } @Override + @SideOnly(Side.CLIENT) + public void registerBlockIcons(IIconRegister p_149651_1_) { + } + + @Override public boolean canCreatureSpawn(EnumCreatureType type, IBlockAccess world, int x, int y, int z) { return false; } |