summaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/features/summonings
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-10-12 22:56:15 +0200
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-10-12 22:56:15 +0200
commitaca189fe13935e641c0cac3b91693c6c3fcf91c7 (patch)
tree93142bc4d2a654e452be6d598bf41ba27e2d3ac5 /src/main/java/at/hannibal2/skyhanni/features/summonings
parent746351e19048c2e33dd6c71b5cf5b7d82f648690 (diff)
downloadskyhanni-aca189fe13935e641c0cac3b91693c6c3fcf91c7.tar.gz
skyhanni-aca189fe13935e641c0cac3b91693c6c3fcf91c7.tar.bz2
skyhanni-aca189fe13935e641c0cac3b91693c6c3fcf91c7.zip
fixed globalRender description and replaced RenderWorldLastEvent with LorenzRenderWorldEvent
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/features/summonings')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/summonings/SummoningSoulsName.kt5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/summonings/SummoningSoulsName.kt b/src/main/java/at/hannibal2/skyhanni/features/summonings/SummoningSoulsName.kt
index 7dcbe484a..8f0825188 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/summonings/SummoningSoulsName.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/summonings/SummoningSoulsName.kt
@@ -1,6 +1,7 @@
package at.hannibal2.skyhanni.features.summonings
import at.hannibal2.skyhanni.SkyHanniMod
+import at.hannibal2.skyhanni.events.LorenzRenderWorldEvent
import at.hannibal2.skyhanni.events.LorenzTickEvent
import at.hannibal2.skyhanni.events.LorenzWorldChangeEvent
import at.hannibal2.skyhanni.utils.EntityUtils
@@ -11,10 +12,8 @@ import at.hannibal2.skyhanni.utils.LorenzUtils.sorted
import at.hannibal2.skyhanni.utils.LorenzVec
import at.hannibal2.skyhanni.utils.RenderUtils.drawString
import at.hannibal2.skyhanni.utils.getLorenzVec
-import net.minecraft.client.Minecraft
import net.minecraft.entity.EntityLiving
import net.minecraft.entity.item.EntityArmorStand
-import net.minecraftforge.client.event.RenderWorldLastEvent
import net.minecraftforge.fml.common.eventhandler.SubscribeEvent
class SummoningSoulsName {
@@ -73,7 +72,7 @@ class SummoningSoulsName {
}
@SubscribeEvent
- fun onWorldRender(event: RenderWorldLastEvent) {
+ fun onWorldRender(event: LorenzRenderWorldEvent) {
if (!isEnabled()) return
for ((entity, name) in souls) {