aboutsummaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-10-01 16:37:55 +0200
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-10-01 16:37:55 +0200
commitaea09a848dbd05d9088d4ee4d05c0aa4bdd9bec2 (patch)
tree74a47d03e90cd62f4081f51ec4e3260c894db252 /src/main
parentbbb9221f457ae1407595ff1575727229b8c40f1e (diff)
downloadskyhanni-aea09a848dbd05d9088d4ee4d05c0aa4bdd9bec2.tar.gz
skyhanni-aea09a848dbd05d9088d4ee4d05c0aa4bdd9bec2.tar.bz2
skyhanni-aea09a848dbd05d9088d4ee4d05c0aa4bdd9bec2.zip
Removed debug messages
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/data/FriendAPI.kt4
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/damageindicator/DamageIndicatorManager.kt3
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/garden/farming/CropMoneyDisplay.kt1
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/garden/visitor/GardenVisitorFeatures.kt1
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/misc/ChumBucketHider.kt1
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/misc/QuickModMenuSwitch.kt4
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/nether/reputationhelper/dailyquest/QuestLoader.kt3
-rw-r--r--src/main/java/at/hannibal2/skyhanni/test/SkyHanniConfigSearchResetCommand.kt1
8 files changed, 1 insertions, 17 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/data/FriendAPI.kt b/src/main/java/at/hannibal2/skyhanni/data/FriendAPI.kt
index 1614e51f1..a9e5da9b5 100644
--- a/src/main/java/at/hannibal2/skyhanni/data/FriendAPI.kt
+++ b/src/main/java/at/hannibal2/skyhanni/data/FriendAPI.kt
@@ -67,23 +67,19 @@ class FriendAPI {
removedFriendPattern.matchMatcher(event.message) {
val name = group("name").cleanPlayerName()
- println("removed friend: '$name'")
removedFriend(name)
}
addedFriendPattern.matchMatcher(event.message) {
val name = group("name").cleanPlayerName()
- println("added friend: '$name'")
addFriend(name)
}
noBestFriendPattern.matchMatcher(event.message) {
val name = group("name").cleanPlayerName()
- println("no best friend: '$name'")
setBestFriend(name, false)
}
bestFriendPattern.matchMatcher(event.message) {
val name = group("name").cleanPlayerName()
- println("best friend: '$name'")
setBestFriend(name, true)
}
}
diff --git a/src/main/java/at/hannibal2/skyhanni/features/damageindicator/DamageIndicatorManager.kt b/src/main/java/at/hannibal2/skyhanni/features/damageindicator/DamageIndicatorManager.kt
index d3c2b0cda..72079fd6f 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/damageindicator/DamageIndicatorManager.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/damageindicator/DamageIndicatorManager.kt
@@ -696,9 +696,6 @@ class DamageIndicatorManager {
private fun checkThorn(realHealth: Long, realMaxHealth: Long): String? {
val maxHealth: Int
- println(" ")
- println("realHealth: $realHealth")
- println("realMaxHealth: $realMaxHealth")
val health = if (DungeonAPI.isOneOf("F4")) {
maxHealth = 4
diff --git a/src/main/java/at/hannibal2/skyhanni/features/garden/farming/CropMoneyDisplay.kt b/src/main/java/at/hannibal2/skyhanni/features/garden/farming/CropMoneyDisplay.kt
index 11ee9635d..7327fffb2 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/garden/farming/CropMoneyDisplay.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/garden/farming/CropMoneyDisplay.kt
@@ -164,7 +164,6 @@ object CropMoneyDisplay {
if (!isSpeedDataEmpty()) {
val message = "money/hr empty but speed data not empty, retry"
LorenzUtils.debug(message)
- println(message)
newDisplay.addAsSingletonList("§eStill Loading...")
ready = false
loaded = false
diff --git a/src/main/java/at/hannibal2/skyhanni/features/garden/visitor/GardenVisitorFeatures.kt b/src/main/java/at/hannibal2/skyhanni/features/garden/visitor/GardenVisitorFeatures.kt
index 1b139190e..7497e5b74 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/garden/visitor/GardenVisitorFeatures.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/garden/visitor/GardenVisitorFeatures.kt
@@ -396,7 +396,6 @@ class GardenVisitorFeatures {
}
private fun readToolTip(visitor: Visitor, itemStack: ItemStack?) {
- println("readToolTip")
val stack = itemStack ?: error("Accept offer item not found for visitor ${visitor.visitorName}")
var totalPrice = 0.0
var timeRequired = -1L
diff --git a/src/main/java/at/hannibal2/skyhanni/features/misc/ChumBucketHider.kt b/src/main/java/at/hannibal2/skyhanni/features/misc/ChumBucketHider.kt
index 4c320c751..5a0b6fe86 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/misc/ChumBucketHider.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/misc/ChumBucketHider.kt
@@ -51,7 +51,6 @@ class ChumBucketHider {
val entityLocation = entity.getLorenzVec()
for (title in titleEntity) {
if (entityLocation.equalsIgnoreY(title.getLorenzVec())) {
- println("found lower chum entity")
hiddenEntities.add(entity)
event.isCanceled = true
return
diff --git a/src/main/java/at/hannibal2/skyhanni/features/misc/QuickModMenuSwitch.kt b/src/main/java/at/hannibal2/skyhanni/features/misc/QuickModMenuSwitch.kt
index e59ccab3b..31530d5ee 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/misc/QuickModMenuSwitch.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/misc/QuickModMenuSwitch.kt
@@ -139,7 +139,6 @@ object QuickModMenuSwitch {
try {
when (mod.command) {
"patcher" -> {
- println("try opening patcher")
val patcher = Class.forName("club.sk1er.patcher.Patcher")
val instance = patcher.getDeclaredField("instance").get(null)
val config = instance.javaClass.getDeclaredMethod("getPatcherConfig").invoke(instance)
@@ -148,7 +147,6 @@ object QuickModMenuSwitch {
for (method in guiUtils.declaredMethods) {
try {
method.invoke(null, gui)
- println("opened patcher")
return
} catch (_: Exception) {
}
@@ -157,7 +155,6 @@ object QuickModMenuSwitch {
}
"hytil" -> {
- println("try opening hytil")
val hytilsReborn = Class.forName("cc.woverflow.hytils.HytilsReborn")
val instance = hytilsReborn.getDeclaredField("INSTANCE").get(null)
val config = instance.javaClass.getDeclaredMethod("getConfig").invoke(instance)
@@ -166,7 +163,6 @@ object QuickModMenuSwitch {
for (method in guiUtils.declaredMethods) {
try {
method.invoke(null, gui)
- println("opened hytil")
return
} catch (_: Exception) {
}
diff --git a/src/main/java/at/hannibal2/skyhanni/features/nether/reputationhelper/dailyquest/QuestLoader.kt b/src/main/java/at/hannibal2/skyhanni/features/nether/reputationhelper/dailyquest/QuestLoader.kt
index 9de600370..b7c4c2cbf 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/nether/reputationhelper/dailyquest/QuestLoader.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/nether/reputationhelper/dailyquest/QuestLoader.kt
@@ -108,8 +108,7 @@ class QuestLoader(private val dailyQuestHelper: DailyQuestHelper) {
}
}
}
-
- println("Unknown quest: '$name'")
+ LorenzUtils.chat("§c[SkyHanni] Unknown Crimson Isle quest: '$name'")
return UnknownQuest(name)
}
diff --git a/src/main/java/at/hannibal2/skyhanni/test/SkyHanniConfigSearchResetCommand.kt b/src/main/java/at/hannibal2/skyhanni/test/SkyHanniConfigSearchResetCommand.kt
index f80b96f8f..874697607 100644
--- a/src/main/java/at/hannibal2/skyhanni/test/SkyHanniConfigSearchResetCommand.kt
+++ b/src/main/java/at/hannibal2/skyhanni/test/SkyHanniConfigSearchResetCommand.kt
@@ -54,7 +54,6 @@ object SkyHanniConfigSearchResetCommand {
if (affectedElements > 3 && !args.contentEquals(lastCommand)) {
return "§cThis will change $affectedElements config elements! Use the command again to confirm."
}
- println("size: $affectedElements")
field.set(parent, defaultObject)
"§eSuccessfully reset config element '$term'"
} catch (e: Exception) {