Skip to content

Commit

Permalink
Merge pull request #510 from TabooLib/dev/sky
Browse files Browse the repository at this point in the history
修复 Packet#overwrite 在共享模式下无效的问题
  • Loading branch information
Bkm016 authored Nov 29, 2024
2 parents c1e36ab + 4c8ae5f commit f095116
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ object ProtocolHandler : OpenListener {
var current = packet
var isCancelled = false
containers.forEach {
val result = it.call(method, arrayOf(sender, channel, packet))
val result = it.call(method, arrayOf(sender, channel, current))
if (result.isSuccessful) {
current = result.value ?: current
} else {
Expand Down

0 comments on commit f095116

Please sign in to comment.