Skip to content

Commit

Permalink
#603 Fixed ball concurrent modifications.
Browse files Browse the repository at this point in the history
  • Loading branch information
Shynixn committed Jan 18, 2025
1 parent fc8e7b5 commit bf27bce
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ plugins {
}

group = "com.github.shynixn"
version = "7.11.0"
version = "7.11.1"

repositories {
mavenLocal()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ class SoccerBallFactoryImpl (
init {
plugin.launch {
while (!isDisposed) {
for (ball in ballHitBoxTracked.values) {
val balls = ballHitBoxTracked.values.toTypedArray()
for (ball in balls) {
ball.run()
}
delay(1.ticks)
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/plugin-legacy.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: BlockBall
version: 7.11.0
version: 7.11.1
author: Shynixn
website: https://www.spigotmc.org/members/shynixn.63455/
main: com.github.shynixn.blockball.BlockBallPlugin
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/plugin.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: BlockBall
version: 7.11.0
version: 7.11.1
author: Shynixn
website: https://www.spigotmc.org/members/shynixn.63455/
main: com.github.shynixn.blockball.BlockBallPlugin
Expand Down

0 comments on commit bf27bce

Please sign in to comment.