aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/hannibal2/skyhanni/data
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-01-07 02:32:01 +0100
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-01-07 02:32:01 +0100
commit614eb4d782c5940e13df0e50c00cdfeacd55bad0 (patch)
tree26dd5f8b646add4ba40af0816d4373229822e889 /src/main/java/at/hannibal2/skyhanni/data
parent62f0750771748571d4f2f8f02f8b77a186c2d4c0 (diff)
downloadskyhanni-614eb4d782c5940e13df0e50c00cdfeacd55bad0.tar.gz
skyhanni-614eb4d782c5940e13df0e50c00cdfeacd55bad0.tar.bz2
skyhanni-614eb4d782c5940e13df0e50c00cdfeacd55bad0.zip
Renamed hypixel and skyblock.
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/data')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/data/EntityMovementData.kt2
-rw-r--r--src/main/java/at/hannibal2/skyhanni/data/HypixelData.kt10
-rw-r--r--src/main/java/at/hannibal2/skyhanni/data/ItemRenderBackground.kt2
-rw-r--r--src/main/java/at/hannibal2/skyhanni/data/ItemTipHelper.kt4
-rw-r--r--src/main/java/at/hannibal2/skyhanni/data/MinecraftData.kt4
5 files changed, 11 insertions, 11 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/data/EntityMovementData.kt b/src/main/java/at/hannibal2/skyhanni/data/EntityMovementData.kt
index 2e4d13da6..30f88f48e 100644
--- a/src/main/java/at/hannibal2/skyhanni/data/EntityMovementData.kt
+++ b/src/main/java/at/hannibal2/skyhanni/data/EntityMovementData.kt
@@ -25,7 +25,7 @@ class EntityMovementData {
@SubscribeEvent
fun onTick(event: TickEvent.ClientTickEvent) {
- if (!LorenzUtils.inSkyblock) return
+ if (!LorenzUtils.inSkyBlock) return
for (entity in entityLocation.keys) {
if (entity.isDead) continue
diff --git a/src/main/java/at/hannibal2/skyhanni/data/HypixelData.kt b/src/main/java/at/hannibal2/skyhanni/data/HypixelData.kt
index 8026ecac8..bbb3db69d 100644
--- a/src/main/java/at/hannibal2/skyhanni/data/HypixelData.kt
+++ b/src/main/java/at/hannibal2/skyhanni/data/HypixelData.kt
@@ -16,7 +16,7 @@ class HypixelData {
companion object {
var hypixel = false
- var skyblock = false
+ var skyBlock = false
var skyBlockIsland: String = ""
//Ironman, Stranded and Bingo
@@ -49,13 +49,13 @@ class HypixelData {
@SubscribeEvent
fun onWorldChange(event: WorldEvent.Load) {
- skyblock = false
+ skyBlock = false
}
@SubscribeEvent
fun onDisconnect(event: FMLNetworkEvent.ClientDisconnectionFromServerEvent) {
hypixel = false
- skyblock = false
+ skyBlock = false
}
@SubscribeEvent
@@ -90,8 +90,8 @@ class HypixelData {
checkSidebar()
}
- if (inSkyBlock == skyblock) return
- skyblock = inSkyBlock
+ if (inSkyBlock == skyBlock) return
+ skyBlock = inSkyBlock
}
private fun checkSidebar() {
diff --git a/src/main/java/at/hannibal2/skyhanni/data/ItemRenderBackground.kt b/src/main/java/at/hannibal2/skyhanni/data/ItemRenderBackground.kt
index 9b25933ea..1576ff4ca 100644
--- a/src/main/java/at/hannibal2/skyhanni/data/ItemRenderBackground.kt
+++ b/src/main/java/at/hannibal2/skyhanni/data/ItemRenderBackground.kt
@@ -30,7 +30,7 @@ class ItemRenderBackground {
@SubscribeEvent
fun renderOverlayLol(event: RenderRealOverlayEvent) {
val stack = event.stack
- if (LorenzUtils.inSkyblock) {
+ if (LorenzUtils.inSkyBlock) {
if (stack != null) {
val color = stack.background
if (color != -1) {
diff --git a/src/main/java/at/hannibal2/skyhanni/data/ItemTipHelper.kt b/src/main/java/at/hannibal2/skyhanni/data/ItemTipHelper.kt
index 69ae9fa2d..30b9ad03f 100644
--- a/src/main/java/at/hannibal2/skyhanni/data/ItemTipHelper.kt
+++ b/src/main/java/at/hannibal2/skyhanni/data/ItemTipHelper.kt
@@ -20,7 +20,7 @@ class ItemTipHelper {
@SubscribeEvent
fun onRenderItemOverlayPost(event: GuiRenderItemEvent.RenderOverlayEvent.GuiRenderItemPost) {
val stack = event.stack ?: return
- if (!LorenzUtils.inSkyblock || stack.stackSize != 1) return
+ if (!LorenzUtils.inSkyBlock || stack.stackSize != 1) return
// val uuid = stacremovek.getLore().joinToString { ", " }
val stackTip: String
@@ -51,7 +51,7 @@ class ItemTipHelper {
@SubscribeEvent(priority = EventPriority.HIGHEST)
fun onRenderInventoryItemOverlayPost(event: DrawScreenAfterEvent) {
- if (!LorenzUtils.inSkyblock) return
+ if (!LorenzUtils.inSkyBlock) return
val gui = Minecraft.getMinecraft().currentScreen
if (gui !is GuiChest) return
diff --git a/src/main/java/at/hannibal2/skyhanni/data/MinecraftData.kt b/src/main/java/at/hannibal2/skyhanni/data/MinecraftData.kt
index 16facaf90..f463391e3 100644
--- a/src/main/java/at/hannibal2/skyhanni/data/MinecraftData.kt
+++ b/src/main/java/at/hannibal2/skyhanni/data/MinecraftData.kt
@@ -13,7 +13,7 @@ class MinecraftData {
@SubscribeEvent(receiveCanceled = true)
fun onSoundPacket(event: PacketEvent.ReceiveEvent) {
- if (!LorenzUtils.inSkyblock) return
+ if (!LorenzUtils.inSkyBlock) return
val packet = event.packet
if (packet !is S29PacketSoundEffect) return
@@ -31,7 +31,7 @@ class MinecraftData {
@SubscribeEvent(receiveCanceled = true)
fun onParticlePacketReceive(event: PacketEvent.ReceiveEvent) {
- if (!LorenzUtils.inSkyblock) return
+ if (!LorenzUtils.inSkyBlock) return
val packet = event.packet
if (packet !is S2APacketParticles) return