Skip to content

Commit

Permalink
fix PromptSign map not removed on sign
Browse files Browse the repository at this point in the history
  • Loading branch information
acrylic-style committed Nov 9, 2024
1 parent 5fa7456 commit 46a61b2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 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 = "net.azisaba"
version = "6.18.3+1.15.2"
version = "6.18.4+1.15.2"

java {
toolchain.languageVersion.set(JavaLanguageVersion.of(8))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ import org.bukkit.event.Listener
object PromptSignListener : Listener {
@EventHandler(priority = EventPriority.MONITOR, ignoreCancelled = true)
fun onSign(e: AsyncPreSignChangeEvent) {
PromptSign.awaitingSign[e.player.uniqueId]?.invoke(e.lines.toList())
PromptSign.awaitingSign.remove(e.player.uniqueId)?.invoke(e.lines.toList())
}
}

0 comments on commit 46a61b2

Please sign in to comment.