diff options
author | My-Name-Is-Jeff <37018278+My-Name-Is-Jeff@users.noreply.github.com> | 2021-10-03 14:11:04 -0400 |
---|---|---|
committer | My-Name-Is-Jeff <37018278+My-Name-Is-Jeff@users.noreply.github.com> | 2021-10-03 14:11:04 -0400 |
commit | 78470ca07583958e550a23bce83b3fcab8228403 (patch) | |
tree | 4631fb0915232d88c61e09fec6d04e60037c06dc /src/main | |
parent | a64ef91beff151d325e101482d2f4f718e38c8f6 (diff) | |
download | SkytilsMod-78470ca07583958e550a23bce83b3fcab8228403.tar.gz SkytilsMod-78470ca07583958e550a23bce83b3fcab8228403.tar.bz2 SkytilsMod-78470ca07583958e550a23bce83b3fcab8228403.zip |
concurrency is funv1.0.7
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/kotlin/skytils/skytilsmod/features/impl/dungeons/solvers/TeleportMazeSolver.kt | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/main/kotlin/skytils/skytilsmod/features/impl/dungeons/solvers/TeleportMazeSolver.kt b/src/main/kotlin/skytils/skytilsmod/features/impl/dungeons/solvers/TeleportMazeSolver.kt index 9ab6d7db..46aa6e06 100644 --- a/src/main/kotlin/skytils/skytilsmod/features/impl/dungeons/solvers/TeleportMazeSolver.kt +++ b/src/main/kotlin/skytils/skytilsmod/features/impl/dungeons/solvers/TeleportMazeSolver.kt @@ -34,6 +34,7 @@ import skytils.skytilsmod.Skytils.Companion.mc import skytils.skytilsmod.events.PacketEvent import skytils.skytilsmod.events.SendChatMessageEvent import skytils.skytilsmod.listeners.DungeonListener +import skytils.skytilsmod.utils.ConcurrentHashSet import skytils.skytilsmod.utils.DevTools import skytils.skytilsmod.utils.RenderUtil import skytils.skytilsmod.utils.Utils @@ -42,9 +43,9 @@ import java.awt.Color class TeleportMazeSolver { companion object { - private val steppedPads = HashSet<BlockPos>() - val poss = HashSet<BlockPos>() - val valid = HashSet<BlockPos>() + private val steppedPads = ConcurrentHashSet<BlockPos>() + val poss = ConcurrentHashSet<BlockPos>() + val valid = ConcurrentHashSet<BlockPos>() } @SubscribeEvent |