Yurie — Сегодня, в 13:42
да я знаю i don't care
This commit is contained in:
parent
996d6e8ed1
commit
691fe66797
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user