mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-22 04:52:25 +00:00
dont render jetpack/suba tank levels if gui hidden
This commit is contained in:
1 parent
cbe9cdc3f2
commit
6f2aec2d0b
1 file changed
+1
-1
@@ -104,7 +104,7 @@ public class RenderTickHandler
|
||||
ClientTickHandler.wheelStatus = 0;
|
||||
}
|
||||
|
||||
if(mc.currentScreen == null && !player.getItemStackFromSlot(EntityEquipmentSlot.CHEST).isEmpty())
|
||||
if(mc.currentScreen == null && !mc.gameSettings.hideGUI && !player.getItemStackFromSlot(EntityEquipmentSlot.CHEST).isEmpty())
|
||||
{
|
||||
ItemStack stack = player.getItemStackFromSlot(EntityEquipmentSlot.CHEST);
|
||||
|
||||
|
||||
Reference in new issue
Block a user