mirror of
https://github.com/darksaid98/Flashback.git
synced 2026-12-01 14:38:50 +00:00
Fix chunks & entities not loading when exporting
This commit is contained in:
1 parent
9c6166ebcc
commit
1e1393f2c6
1 file changed
+5
-1
@@ -40,8 +40,12 @@ public abstract class MixinTickRateManager {
|
||||
if (Flashback.isInReplay()) {
|
||||
if (this.isServerTickRateManager) {
|
||||
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 {
|
||||
cir.setReturnValue(!this.runsNormally() || entity == Minecraft.getInstance().player);
|
||||
cir.setReturnValue(!this.runsNormally());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user