aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/com/dulkirfabric/util/Utils.kt
diff options
context:
space:
mode:
authoringlettronald <inglettronald@gmail.com>2023-06-26 19:33:12 -0500
committeringlettronald <inglettronald@gmail.com>2023-06-26 19:33:12 -0500
commit9b4a706bba856cea07ee8c42748b6cfde15bfb86 (patch)
tree05dbc1b03417d59adde08b507c8687fe27244bb4 /src/main/kotlin/com/dulkirfabric/util/Utils.kt
parent50c25b3f9995b62f3cb0bc42966beb2fe62a6091 (diff)
downloadDulkirMod-Fabric-9b4a706bba856cea07ee8c42748b6cfde15bfb86.tar.gz
DulkirMod-Fabric-9b4a706bba856cea07ee8c42748b6cfde15bfb86.tar.bz2
DulkirMod-Fabric-9b4a706bba856cea07ee8c42748b6cfde15bfb86.zip
Added some basic ScoreBoard utility
Diffstat (limited to 'src/main/kotlin/com/dulkirfabric/util/Utils.kt')
-rw-r--r--src/main/kotlin/com/dulkirfabric/util/Utils.kt7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/main/kotlin/com/dulkirfabric/util/Utils.kt b/src/main/kotlin/com/dulkirfabric/util/Utils.kt
new file mode 100644
index 0000000..ce6665b
--- /dev/null
+++ b/src/main/kotlin/com/dulkirfabric/util/Utils.kt
@@ -0,0 +1,7 @@
+package com.dulkirfabric.util
+
+object Utils {
+ fun isInSkyblock(): Boolean {
+ return ScoreBoardUtils.getLines() != null
+ }
+} \ No newline at end of file