mirror of
https://github.com/darksaid98/Flashback.git
synced 2026-12-01 14:38:50 +00:00
Fix: Update current dimension when level is unchanged
This commit is contained in:
1 parent
149b14e7d8
commit
67314cd5ef
1 file changed
+4
@@ -659,6 +659,10 @@ public class ReplayGamePacketHandler implements ClientGamePacketListener {
|
||||
ServerLevel newLevel = this.replayServer.getLevel(dimension);
|
||||
|
||||
if (newLevel == oldLevel) {
|
||||
// Change to new dimension
|
||||
this.currentDimension = commonPlayerSpawnInfo.dimension();
|
||||
this.replayServer.spawnLevel = this.currentDimension;
|
||||
|
||||
if (!this.replayServer.isProcessingSnapshot) {
|
||||
this.replayServer.followLocalPlayerNextTickIfFar = true;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user