Yurie — Сегодня, в 13:42

да
я знаю
i don't care
This commit is contained in:
DBotThePony 2025-02-09 13:44:31 +07:00
parent 996d6e8ed1
commit 691fe66797
Signed by: DBot
GPG Key ID: DCC23B5715498507

View File

@ -117,11 +117,11 @@ object MatteryGUI {
graphics: GuiGraphics,
delta: DeltaTracker
) {
if (minecraft.options.hideGui) return
if (minecraft.options.hideGui || !minecraft.gameMode!!.canHurtPlayer()) return
val ply: LocalPlayer = minecraft.player ?: return
if (ply.vehicle is LivingEntity || ply.isCreative)
if (ply.vehicle is LivingEntity)
return
val gui = minecraft.gui
@ -188,7 +188,7 @@ object MatteryGUI {
delta: DeltaTracker
) {
if (!ClientConfig.HUD.ANDROID_HEALTH_BAR) return
if (minecraft.options.hideGui) return
if (minecraft.options.hideGui || !minecraft.gameMode!!.canHurtPlayer()) return
val gui = minecraft.gui
val ply: LocalPlayer = minecraft.player ?: return
@ -383,7 +383,7 @@ object MatteryGUI {
graphics: GuiGraphics,
delta: DeltaTracker
) {
if (minecraft.options.hideGui) return
if (minecraft.options.hideGui || !minecraft.gameMode!!.canHurtPlayer()) return
val player = minecraft.player ?: return