diff options
author | CromaMclos <github@zorben.com> | 2024-05-12 11:31:43 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-12 20:31:43 +0200 |
commit | 569e4dc39cd031222c71639f5d3505d4ac7663f1 (patch) | |
tree | da0510168ecb5cb90ae2900425f7bc0e2a319911 /src/main/resources/assets/gregtech/textures/blocks/iconsets | |
parent | 92159e690e0045bc8270c6c2b51f7fdbee8ecc24 (diff) | |
download | GT5-Unofficial-569e4dc39cd031222c71639f5d3505d4ac7663f1.tar.gz GT5-Unofficial-569e4dc39cd031222c71639f5d3505d4ac7663f1.tar.bz2 GT5-Unofficial-569e4dc39cd031222c71639f5d3505d4ac7663f1.zip |
Update GT_MetaTileEntity_IndustrialApiary.java (#2596)
The Apimancer's Drainer uses GT_MetaTileEntity_IndustrialApiary.getUsedQueen to retrieve the queen currently being processed by the Industrial Apiary.
getUsedQueen is annotated with @SideOnly(Side.CLIENT) which only allows this function to be called from singleplayer. This function is not available when called from server-side and leads to the crash detailed in this issue.
As far as I can tell, this function has no reason to be singleplayer / client-side only. This seems to be an artifact from when this function was imported over 2 years ago.
Testing this change in our world prevents the crash and allows the Apimancer's Drainer to work as expected with the Industrial Apiary.
Resolves GTNewHorizons/GT-New-Horizons-Modpack#16222
Diffstat (limited to 'src/main/resources/assets/gregtech/textures/blocks/iconsets')
0 files changed, 0 insertions, 0 deletions