Fix spectating when clicking with unlocked cursor (fixes #224)
> If you misclick the add keyframe button or something, you end up specating instead and you have to find the camera angle again
This commit is contained in:
@@ -574,7 +574,7 @@ public class CameraEntity
|
||||
|
||||
private void handleInputEvents() {
|
||||
if (this.client.options.keyAttack.wasPressed() || this.client.options.keyUse.wasPressed()) {
|
||||
if (canSpectate(this.client.targetedEntity)) {
|
||||
if (this.client.currentScreen == null && canSpectate(this.client.targetedEntity)) {
|
||||
ReplayModReplay.instance.getReplayHandler().spectateEntity(
|
||||
//#if MC<=10710
|
||||
//$$ (EntityLivingBase)
|
||||
|
||||
Reference in New Issue
Block a user