We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7c487a1 commit bd3d7a4Copy full SHA for bd3d7a4
src/main/java/black/bracken/seichienvoy/PlayerDataSynchronizer.kt
@@ -58,7 +58,9 @@ class PlayerDataSynchronizer(private val synchronizingOriginNames: Set<String>)
58
if (serverSwitchWaitingMap[player.name] !is PlayerDataUnloaded) return
59
60
serverSwitchWaitingMap.remove(player.name)
61
- player.connect(event.cancelServer)
+ player.connect(event.cancelServer) { isSucceed, exception ->
62
+ if (!isSucceed) throw exception
63
+ }
64
}
65
66
@Suppress("unused")
0 commit comments