Skip to content

Commit

Permalink
Update connect module
Browse files Browse the repository at this point in the history
  • Loading branch information
robinbraemer committed Mar 18, 2022
1 parent c183303 commit 21e40a6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ require (
github.com/stretchr/testify v1.7.0
go.minekube.com/brigodier v0.0.0-20210616142004-efe28271de71
go.minekube.com/common v0.0.0-20200811211844-401ee9d15c09
go.minekube.com/connect v0.4.1
go.minekube.com/connect v0.4.2
go.uber.org/atomic v1.7.0
go.uber.org/multierr v1.6.0
go.uber.org/zap v1.19.1
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -415,8 +415,8 @@ go.minekube.com/brigodier v0.0.0-20210616142004-efe28271de71 h1:OEeSNDk62kFTm83x
go.minekube.com/brigodier v0.0.0-20210616142004-efe28271de71/go.mod h1:WJf/lyJVTId/phiY6phPW6++qkTjCQ72rbOWqo4XIqc=
go.minekube.com/common v0.0.0-20200811211844-401ee9d15c09 h1:E/AB72vPICyxqDcUQxC6SQyJ1jLF//GBG20Vw0wCDxE=
go.minekube.com/common v0.0.0-20200811211844-401ee9d15c09/go.mod h1:PCdSdTInlQv6ggDIbVjLFs7ehSRP4i9KqYsLAeeNUYU=
go.minekube.com/connect v0.4.1 h1:KQkODcofb4ztlnSpeIorxLxOkUlWpljmeFRHrRYxoyQ=
go.minekube.com/connect v0.4.1/go.mod h1:UoJPzARtItNMD2IMGGRxKEwo3sibouOZwOh8pN3aBQ4=
go.minekube.com/connect v0.4.2 h1:flE3taQxaJdORRGXrHrN6zP6tfjryzNQ0ajb+7Y1WR0=
go.minekube.com/connect v0.4.2/go.mod h1:UoJPzARtItNMD2IMGGRxKEwo3sibouOZwOh8pN3aBQ4=
go.opencensus.io v0.18.0/go.mod h1:vKdFvxhtzZ9onBp9VKHK8z/sRpBMnKAsufL7wlDrCOA=
go.opencensus.io v0.21.0/go.mod h1:mSImk1erAIZhrmZN+AvHh14ztQfjbGwt4TtuofqLduU=
go.opencensus.io v0.22.0/go.mod h1:+kGneAE2xo2IficOXnaByMWTGM9T73dGwxeWcUqIpI8=
Expand Down
2 changes: 0 additions & 2 deletions pkg/edition/java/proxy/switch.go
Original file line number Diff line number Diff line change
Expand Up @@ -276,8 +276,6 @@ func (p *connectedPlayer) handleKickEvent(e *KickedFromServerEvent, friendlyReas
requestedMessage = friendlyReason
}
_ = p.SendMessage(requestedMessage)
default:
// The only remaining value is successful (no need to do anything!)
}
case *NotifyKickResult:
if e.KickedDuringServerConnect() && previouslyConnected {
Expand Down

0 comments on commit 21e40a6

Please sign in to comment.