Skip to content

Commit

Permalink
fun
Browse files Browse the repository at this point in the history
  • Loading branch information
WMF-Industries committed Oct 28, 2024
1 parent b802019 commit 3d7135e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/floodcompat/FloodCompat.kt
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class FloodCompat : Mod() {
disable()
applied = false
}
Events.on(EventType.WorldLoadEvent::class.java) { Log.info("Send flood"); Call.serverPacketReliable("flood", "1.0"); Timer.schedule({ notif() }, 3f); allTiles.clear() }
Events.on(EventType.WorldLoadEvent::class.java) { Log.info("Send flood"); Call.serverPacketReliable("flood", "1.1"); Timer.schedule({ notif() }, 3f); allTiles.clear() }
netClient.addPacketHandler("flood") { if (Strings.canParseInt(it)) enable() }
netClient.addPacketHandler("anticreep") { string: String ->
val vars = string.split(':')
Expand Down

0 comments on commit 3d7135e

Please sign in to comment.