Skip to content

Commit

Permalink
such a moment
Browse files Browse the repository at this point in the history
  • Loading branch information
WMF-Industries committed Oct 28, 2024
1 parent 614c96f commit 476e802
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion assets/mod.hjson
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: "floodcompat"
author: "io community"
main: "floodcompat.FloodCompat"
description: "Reduces desyncs & applies flood changes on join."
version: "1.2"
version: "1.2.1"
minGameVersion: 146
java: true
hidden: true
2 changes: 1 addition & 1 deletion src/floodcompat/FloodCompat.kt
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ class FloodCompat : Mod() {
netClient.addPacketHandler("anticreep") { string: String ->
if (!applied) return@addPacketHandler // This can eat some anticreep packets right when the player joins but its not a big deal

val vars = string.split(":", limit = 3)
val vars = string.split(":", limit = 4)

val pos = Strings.parseInt(vars[0])
val rad = Strings.parseInt(vars[1])
Expand Down

0 comments on commit 476e802

Please sign in to comment.