fix code error

This commit is contained in:
TONY_All 2023-06-16 11:47:24 +08:00
parent 1d753801dd
commit 2aa6761412
No known key found for this signature in database
GPG Key ID: B868A344D7435E88
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@ class Game(
timer.startTimer()
timer.submitEvent("wall_fall", Duration.ofMinutes(1)) {
broadcast { it.sendLang("game_wall_fall") }
placeBreakRule.addRule("allow_center_wall") { _, _, loc ->
placeBreakRule.addRule("allow_center_wall") { _, _, loc, _ ->
map.wall.contains(loc)
}
submit {