Unload old world when restarting replay, fixes floating heads
This commit is contained in:
@@ -95,6 +95,12 @@ public class ReplayHandler {
|
||||
void restartedReplay() {
|
||||
channel.close();
|
||||
|
||||
// Force re-creation of camera entity by unloading the previous world
|
||||
mc.addScheduledTask(() -> {
|
||||
mc.setIngameNotInFocus();
|
||||
mc.loadWorld(null);
|
||||
});
|
||||
|
||||
restrictions = new Restrictions();
|
||||
|
||||
setup();
|
||||
|
||||
Reference in New Issue
Block a user