mirror of
https://github.com/darksaid98/Flashback.git
synced 2026-12-03 14:38:50 +00:00
Fix chunks & entities not loading when exporting
This commit is contained in:
1 parent
fc1a849dc2
commit
ad37435c2d
1 file changed
+5
-1
@@ -40,8 +40,12 @@ public abstract class MixinTickRateManager {
|
|||||||
if (Flashback.isInReplay()) {
|
if (Flashback.isInReplay()) {
|
||||||
if (this.isServerTickRateManager) {
|
if (this.isServerTickRateManager) {
|
||||||
cir.setReturnValue(!(entity instanceof ReplayPlayer));
|
cir.setReturnValue(!(entity instanceof ReplayPlayer));
|
||||||
|
} else if (entity == Minecraft.getInstance().player) {
|
||||||
|
// When in an export job, the client must always tick
|
||||||
|
// When not in an export job, the player entity is ticked manually, so it must always be frozen
|
||||||
|
cir.setReturnValue(Flashback.EXPORT_JOB == null);
|
||||||
} else {
|
} else {
|
||||||
cir.setReturnValue(!this.runsNormally() || entity == Minecraft.getInstance().player);
|
cir.setReturnValue(!this.runsNormally());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user