fix code error

This commit is contained in:
2023-06-16 11:47:24 +08:00
parent 1d753801dd
commit 2aa6761412
@@ -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 {