Fixed not being able to target tile entities when you want to break them (protection off).
This commit is contained in:
@@ -197,7 +197,7 @@ public class BuilderChain {
|
|||||||
boolean lookingAtInteractiveObject = ClientBlockUtilities.determineIfLookingAtInteractiveObject(mc, world);
|
boolean lookingAtInteractiveObject = ClientBlockUtilities.determineIfLookingAtInteractiveObject(mc, world);
|
||||||
boolean isShiftKeyDown = player.isShiftKeyDown();
|
boolean isShiftKeyDown = player.isShiftKeyDown();
|
||||||
|
|
||||||
if (lookingAtInteractiveObject && !isShiftKeyDown)
|
if (lookingAtInteractiveObject && !isShiftKeyDown && EffortlessBuildingClient.BUILD_SETTINGS.shouldProtectTileEntities())
|
||||||
return AbilitiesState.NONE;
|
return AbilitiesState.NONE;
|
||||||
|
|
||||||
if (!blockInHand)
|
if (!blockInHand)
|
||||||
|
|||||||
Reference in New Issue
Block a user