Skip to content

Commit

Permalink
refactor: fix incorrect parameter type and delete `CheckRenderEntityE…
Browse files Browse the repository at this point in the history
…vent`
  • Loading branch information
My-Name-Is-Jeff committed Nov 3, 2024
1 parent c90fdec commit bddf2be
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 119 deletions.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@ import gg.essential.universal.UKeyboard
import gg.skytils.event.EventPriority
import gg.skytils.event.EventSubscriber
import gg.skytils.event.impl.play.WorldUnloadEvent
import gg.skytils.event.impl.render.CheckRenderEntityEvent
import gg.skytils.event.register
import gg.skytils.skytilsmod.Skytils
import gg.skytils.skytilsmod._event.PacketReceiveEvent
import gg.skytils.skytilsmod.core.tickTimer
import gg.skytils.skytilsmod.events.impl.CheckRenderEntityEvent
import gg.skytils.skytilsmod.utils.*
import net.minecraft.entity.item.EntityArmorStand
import net.minecraft.network.play.server.S02PacketChat
Expand Down Expand Up @@ -62,7 +62,7 @@ object KuudraFeatures : EventSubscriber {
if (event.entity !is EntityArmorStand || SBInfo.mode != SkyblockIsland.KuudraHollow.mode) return
if (Skytils.config.kuudraHideNonNametags && !kuudraOver && !UKeyboard.isKeyDown(UKeyboard.KEY_LMENU)) {
if (event.entity.isInvisible && !event.entity.alwaysRenderNameTag) {
event.isCanceled = true
event.cancelled = true
}
}
}
Expand Down

This file was deleted.

1 change: 0 additions & 1 deletion mod/src/main/resources/mixins.skytils.json
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@
"renderer.MixinRendererLivingEntity",
"renderer.MixinRenderItem",
"renderer.MixinRenderLightningBolt",
"renderer.MixinRenderManager",
"renderer.MixinTileEntityChestRenderer",
"renderer.MixinTileEntityItemStackRenderer",
"renderer.MixinTileEntitySkullRenderer",
Expand Down

0 comments on commit bddf2be

Please sign in to comment.