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,7 +76,9 @@ public class ReplayHandler {
} }
else { else {
currentEntity = e; currentEntity = e;
mc.setRenderViewEntity(currentEntity); if (mc.getRenderViewEntity() != currentEntity) {
mc.setRenderViewEntity(currentEntity);
}
} }
} }