Nukkit-MOT

资源 Nukkit-MOT 2026/10/12-21:46:27

完成注册/登录后下载
lt_name 发布了更新:

master-07ffb34

feat(network): propagate RakNet disconnect reason to PlayerQuitEvent (#869)

RakNet already knows whether the remote peer closed cleanly or the session timed
out, but RakNetPlayerSession discarded that event and reported every channel
close with one generic reason. Keep the typed event and pass a stable reason
into PlayerQuitEvent so a plugin can distinguish an explicit client exit from an
interrupted connection.

Co-authored-by: KripMine <dev@kmine.ru>

>> 阅读更新详情 <<
 

在线会员

  • XiaoSenovo
  • Fungus
  • bast_l
  • Hongju613
  • Hutaro_x
  • Rogercew
  • Dream_snow_wish
  • qinghua
后退
顶部 底部