aboutsummaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorThunderblade73 <85900443+Thunderblade73@users.noreply.github.com>2024-02-10 00:24:52 +0100
committerGitHub <noreply@github.com>2024-02-10 00:24:52 +0100
commit4559e5ff05e19817a21ae49f1c0d8a97d273f6a1 (patch)
treee72dac91d07fc84bea80548c89e13276caa68b81 /src/test
parentd3a7cc4ab970b457b7950489da781539e45e0dce (diff)
downloadskyhanni-4559e5ff05e19817a21ae49f1c0d8a97d273f6a1.tar.gz
skyhanni-4559e5ff05e19817a21ae49f1c0d8a97d273f6a1.tar.bz2
skyhanni-4559e5ff05e19817a21ae49f1c0d8a97d273f6a1.zip
Splitting many utils functions from LorenzUtils up into other classes: ChatUtils, CollectionUtils, ConditionalUtils. And code cleanup #978
Diffstat (limited to 'src/test')
-rw-r--r--src/test/java/at/hannibal2/skyhanni/test/BootstrapHook.kt5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/test/java/at/hannibal2/skyhanni/test/BootstrapHook.kt b/src/test/java/at/hannibal2/skyhanni/test/BootstrapHook.kt
index ec385d0da..6bb7a77f9 100644
--- a/src/test/java/at/hannibal2/skyhanni/test/BootstrapHook.kt
+++ b/src/test/java/at/hannibal2/skyhanni/test/BootstrapHook.kt
@@ -1,6 +1,6 @@
package at.hannibal2.skyhanni.test
-import at.hannibal2.skyhanni.utils.LorenzUtils.makeAccessible
+import at.hannibal2.skyhanni.utils.ReflectionUtils.makeAccessible
import net.minecraft.block.Block
import net.minecraft.block.BlockFire
import net.minecraft.init.Bootstrap
@@ -13,6 +13,7 @@ import java.util.concurrent.locks.ReentrantLock
class BootstrapHook : BeforeAllCallback, Extension {
companion object {
+
private val LOCK: Lock = ReentrantLock()
private var bootstrapped = false
}
@@ -32,4 +33,4 @@ class BootstrapHook : BeforeAllCallback, Extension {
LOCK.unlock()
}
}
-} \ No newline at end of file
+}