Only set view entity if it's not already set
This commit is contained in:
@@ -76,9 +76,11 @@ public class ReplayHandler {
|
|||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
currentEntity = e;
|
currentEntity = e;
|
||||||
|
if (mc.getRenderViewEntity() != currentEntity) {
|
||||||
mc.setRenderViewEntity(currentEntity);
|
mc.setRenderViewEntity(currentEntity);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
public static void spectateCamera() {
|
public static void spectateCamera() {
|
||||||
if(currentEntity != null) {
|
if(currentEntity != null) {
|
||||||
|
|||||||
Reference in New Issue
Block a user