Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
toidicakhia committed Dec 5, 2023
1 parent bdab685 commit a16788a
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
6 changes: 2 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
<img width="100" height="100" align="left" style="float: left; margin: 0 10px 0 0;" alt="lb++" src="src/main/resources/assets/minecraft/liquidbounce-/big.png">
# MinusBounce

# LiquidBounceMinus-Reborn

### Info: [Discord](https://discord.gg/tuansocool)
### Info: [Discord](https://discord.gg/minusbounce)

2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ configurations {

dependencies {
compile "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
include("com.jagrosh:DiscordIPC:0.4")
include("com.github.jagrosh:DiscordIPC:a8d6631cc9")
compile "com.github.MinusMCNetwork:MinusBounce:082af77b18"
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,24 +30,26 @@ class ClientRichPresence : MinecraftInstance() {
running = true

loadConfiguration()
println(appID)

ipcClient = IPCClient(appID)
ipcClient?.setListener(object : IPCListener {
override fun onReady(client: IPCClient?) {
running = true
thread {
while (running) {
update()
try {
Thread.sleep(1000L)
} catch (ignored: InterruptedException) {}
} catch (ignored: InterruptedException) {
}
}
}
}

override fun onClose(client: IPCClient?, json: JSONObject?) {
running = false
}

})
ipcClient?.connect()
} catch (e: Throwable) {
Expand Down Expand Up @@ -91,7 +93,7 @@ class ClientRichPresence : MinecraftInstance() {
}

private fun loadConfiguration() {
appID = 1131467194056855703
appID = 1170895865657958460
assets["logo"] = "logo"
assets["sus"] = "sus"
}
Expand Down

0 comments on commit a16788a

Please sign in to comment.