diff options
author | Glease <4586901+Glease@users.noreply.github.com> | 2021-06-17 23:28:54 +0800 |
---|---|---|
committer | Glease <4586901+Glease@users.noreply.github.com> | 2021-07-30 14:39:32 +0800 |
commit | d80698def4c2c6fe6ee7875e08836563c630271c (patch) | |
tree | 355ba6702036798eed2fbc3b98a23fc197fc1721 /src/main/java/gregtech/api/metatileentity/implementations | |
parent | 9a24e6a7d063149d3f2c4a2545c0e392ce25dbf8 (diff) | |
download | GT5-Unofficial-d80698def4c2c6fe6ee7875e08836563c630271c.tar.gz GT5-Unofficial-d80698def4c2c6fe6ee7875e08836563c630271c.tar.bz2 GT5-Unofficial-d80698def4c2c6fe6ee7875e08836563c630271c.zip |
fix distillation tower not outputting bottom fluid
Signed-off-by: Glease <4586901+Glease@users.noreply.github.com>
Diffstat (limited to 'src/main/java/gregtech/api/metatileentity/implementations')
-rw-r--r-- | src/main/java/gregtech/api/metatileentity/implementations/GT_MetaTileEntity_EnhancedMultiBlockBase.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/main/java/gregtech/api/metatileentity/implementations/GT_MetaTileEntity_EnhancedMultiBlockBase.java b/src/main/java/gregtech/api/metatileentity/implementations/GT_MetaTileEntity_EnhancedMultiBlockBase.java index e4169c58be..597a645699 100644 --- a/src/main/java/gregtech/api/metatileentity/implementations/GT_MetaTileEntity_EnhancedMultiBlockBase.java +++ b/src/main/java/gregtech/api/metatileentity/implementations/GT_MetaTileEntity_EnhancedMultiBlockBase.java @@ -98,6 +98,11 @@ public abstract class GT_MetaTileEntity_EnhancedMultiBlockBase<T extends GT_Meta this.mLimits = mLimits; } + /** + * Due to limitation of Java type system, you might need to do an unchecked cast. + * HOWEVER, the returned IStructureDefinition is expected to be evaluated against current instance only, and should + * not be used against other instances, even for those of the same class. + */ public abstract IStructureDefinition<T> getStructureDefinition(); protected abstract GT_Multiblock_Tooltip_Builder createTooltip(); |