Skip to content
Success

Changes

Summary

  1. Only double switch if the dimension is the same. (#1977) (commit: 812141f) (details)
Commit 812141f4006cd500780f876921c2df8648a0d746 by md-5
Only double switch if the dimension is the same. (#1977)
According to the protocol, a double respawn packet is only needed to be
sent if from the same dimension, so by storing the last known
dimension,
This also maintains the same behaviour for Spigot
https://hub.spigotmc.org/stash/projects/SPIGOT/repos/craftbukkit/commits/ad2f806097e51fbf72f64ba97e2e4c3785326f42
(commit: 812141f)
The file was modifiedproxy/src/main/java/net/md_5/bungee/connection/DownstreamBridge.java
The file was modifiedproxy/src/main/java/net/md_5/bungee/ServerConnector.java
The file was modifiedproxy/src/main/java/net/md_5/bungee/UserConnection.java