Only set view entity if it's not already set

This commit is contained in:
johni0702
2015-06-04 14:35:53 +02:00
parent edd01b3981
commit eaf987b403

View File

@@ -76,9 +76,11 @@ public class ReplayHandler {
}
else {
currentEntity = e;
if (mc.getRenderViewEntity() != currentEntity) {
mc.setRenderViewEntity(currentEntity);
}
}
}
public static void spectateCamera() {
if(currentEntity != null) {