hide layers in f1
This commit is contained in:
parent
7a5ce91995
commit
3cbc7b417f
@ -117,6 +117,8 @@ object MatteryGUI {
|
|||||||
graphics: GuiGraphics,
|
graphics: GuiGraphics,
|
||||||
delta: DeltaTracker
|
delta: DeltaTracker
|
||||||
) {
|
) {
|
||||||
|
if (minecraft.options.hideGui) return
|
||||||
|
|
||||||
val ply: LocalPlayer = minecraft.player ?: return
|
val ply: LocalPlayer = minecraft.player ?: return
|
||||||
|
|
||||||
if (ply.vehicle is LivingEntity || ply.isCreative)
|
if (ply.vehicle is LivingEntity || ply.isCreative)
|
||||||
@ -186,6 +188,7 @@ object MatteryGUI {
|
|||||||
delta: DeltaTracker
|
delta: DeltaTracker
|
||||||
) {
|
) {
|
||||||
if (!ClientConfig.HUD.ANDROID_HEALTH_BAR) return
|
if (!ClientConfig.HUD.ANDROID_HEALTH_BAR) return
|
||||||
|
if (minecraft.options.hideGui) return
|
||||||
|
|
||||||
val gui = minecraft.gui
|
val gui = minecraft.gui
|
||||||
val ply: LocalPlayer = minecraft.player ?: return
|
val ply: LocalPlayer = minecraft.player ?: return
|
||||||
@ -279,6 +282,8 @@ object MatteryGUI {
|
|||||||
graphics: GuiGraphics,
|
graphics: GuiGraphics,
|
||||||
delta: DeltaTracker
|
delta: DeltaTracker
|
||||||
) {
|
) {
|
||||||
|
if (minecraft.options.hideGui) return
|
||||||
|
|
||||||
val player = minecraft.player ?: return
|
val player = minecraft.player ?: return
|
||||||
|
|
||||||
if (!player.matteryPlayer.isAndroid) return
|
if (!player.matteryPlayer.isAndroid) return
|
||||||
@ -378,6 +383,8 @@ object MatteryGUI {
|
|||||||
graphics: GuiGraphics,
|
graphics: GuiGraphics,
|
||||||
delta: DeltaTracker
|
delta: DeltaTracker
|
||||||
) {
|
) {
|
||||||
|
if (minecraft.options.hideGui) return
|
||||||
|
|
||||||
val player = minecraft.player ?: return
|
val player = minecraft.player ?: return
|
||||||
|
|
||||||
if (!player.matteryPlayer.isAndroid) {
|
if (!player.matteryPlayer.isAndroid) {
|
||||||
|
Loading…
Reference in New Issue
Block a user