diff options
author | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-12-04 16:10:38 +0100 |
---|---|---|
committer | hannibal2 <24389977+hannibal00212@users.noreply.github.com> | 2023-12-04 16:10:38 +0100 |
commit | d9a1a8dda967f40bd4a7a2707bf3ff5411093e7d (patch) | |
tree | 0c2c7c67b52a9cafb4c0dff0866ff82781a80f76 /src/main/java/at/hannibal2/skyhanni | |
parent | 357f7493e2cadbe8a543710e71e702874e16df29 (diff) | |
download | skyhanni-d9a1a8dda967f40bd4a7a2707bf3ff5411093e7d.tar.gz skyhanni-d9a1a8dda967f40bd4a7a2707bf3ff5411093e7d.tar.bz2 skyhanni-d9a1a8dda967f40bd4a7a2707bf3ff5411093e7d.zip |
code cleanup
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni')
3 files changed, 3 insertions, 4 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/data/FriendAPI.kt b/src/main/java/at/hannibal2/skyhanni/data/FriendAPI.kt index e3d256b21..834ccaa55 100644 --- a/src/main/java/at/hannibal2/skyhanni/data/FriendAPI.kt +++ b/src/main/java/at/hannibal2/skyhanni/data/FriendAPI.kt @@ -2,14 +2,14 @@ package at.hannibal2.skyhanni.data import at.hannibal2.skyhanni.SkyHanniMod import at.hannibal2.skyhanni.config.ConfigFileType +import at.hannibal2.skyhanni.data.jsonobjects.local.FriendsJson +import at.hannibal2.skyhanni.data.jsonobjects.local.FriendsJson.PlayerFriends.Friend import at.hannibal2.skyhanni.events.HypixelJoinEvent import at.hannibal2.skyhanni.events.LorenzChatEvent import at.hannibal2.skyhanni.test.command.ErrorManager import at.hannibal2.skyhanni.utils.LorenzUtils import at.hannibal2.skyhanni.utils.StringUtils.cleanPlayerName import at.hannibal2.skyhanni.utils.StringUtils.matchMatcher -import at.hannibal2.skyhanni.data.jsonobjects.local.FriendsJson -import at.hannibal2.skyhanni.data.jsonobjects.local.FriendsJson.PlayerFriends.Friend import net.minecraft.util.ChatStyle import net.minecraftforge.fml.common.eventhandler.SubscribeEvent import java.util.UUID diff --git a/src/main/java/at/hannibal2/skyhanni/data/GuildAPI.kt b/src/main/java/at/hannibal2/skyhanni/data/GuildAPI.kt index cb8288e52..5a4fb4f99 100644 --- a/src/main/java/at/hannibal2/skyhanni/data/GuildAPI.kt +++ b/src/main/java/at/hannibal2/skyhanni/data/GuildAPI.kt @@ -38,4 +38,4 @@ object GuildAPI { fun isInGuild(name: String) = ProfileStorageData.playerSpecific?.guildMembers?.let { name in it } ?: false -}
\ No newline at end of file +} diff --git a/src/main/java/at/hannibal2/skyhanni/features/chat/CompactSplashPotionMessage.kt b/src/main/java/at/hannibal2/skyhanni/features/chat/CompactSplashPotionMessage.kt index 9d071b956..e624af88c 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/chat/CompactSplashPotionMessage.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/chat/CompactSplashPotionMessage.kt @@ -30,7 +30,6 @@ class CompactSplashPotionMessage { event.blockedReason = "compact_potion_effect" } - private fun sendMessage(message: String) { if (config.clickableChatMessage) { LorenzUtils.hoverableChat( |