mirror of
https://github.com/darksaid98/Flashback.git
synced 2026-12-01 14:38:50 +00:00
Handle some additional cases for non-standard modded entities
This commit is contained in:
1 parent
fe33b55fc2
commit
01f4bef09b
5 files changed
+61
-10
No files matched your search
@@ -10,6 +10,7 @@ import com.moulberry.flashback.ext.LevelChunkExt;
|
||||
import com.moulberry.flashback.TempFolderProvider;
|
||||
import com.moulberry.flashback.keyframe.handler.ReplayServerKeyframeHandler;
|
||||
import com.moulberry.flashback.packet.FlashbackAccurateEntityPosition;
|
||||
import com.moulberry.flashback.packet.FlashbackClearEntities;
|
||||
import com.moulberry.flashback.packet.FlashbackClearParticles;
|
||||
import com.moulberry.flashback.packet.FlashbackForceClientTick;
|
||||
import com.moulberry.flashback.packet.FlashbackInstantlyLerp;
|
||||
@@ -736,6 +737,12 @@ public class ReplayServer extends IntegratedServer {
|
||||
}
|
||||
}
|
||||
serverLevel.setDayTime(0);
|
||||
|
||||
for (ServerPlayer player : serverLevel.players()) {
|
||||
if (player instanceof ReplayPlayer replayPlayer) {
|
||||
ServerPlayNetworking.send(replayPlayer, FlashbackClearEntities.INSTANCE);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in new issue
Block a user