Merge pull request #1566 from Blood-Asp/FlaskFix

Fixed missing annotation. Prevents crashing Server Side if class is accessed reflectively.
This commit is contained in:
Alkalus 2020-05-27 12:24:01 +01:00 committed by GitHub
commit 77a3c956e5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -122,6 +122,7 @@ public class GT_VolumetricFlask extends GT_Generic_Item implements IFluidContain
} }
@Override @Override
@SideOnly(Side.CLIENT)
public void registerIcons(IIconRegister aIconRegister) { public void registerIcons(IIconRegister aIconRegister) {
super.registerIcons(aIconRegister); super.registerIcons(aIconRegister);
iconWindow = aIconRegister.registerIcon(RES_PATH_ITEM + "gt."+unlocalFlaskName+".window"); iconWindow = aIconRegister.registerIcon(RES_PATH_ITEM + "gt."+unlocalFlaskName+".window");