Skip to content

Adjust render nice check #746

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: version/1.21
Choose a base branch
from
Open

Adjust render nice check #746

wants to merge 3 commits into from

Conversation

someaddons
Copy link
Contributor

Closes #
Closes #

Changes proposed in this pull request

  • Change rendering nice check to be context insensitive similar to the placeholder override

Testing

  • [ x] Yes I tested this before submitting it.
  • I also did a multiplayer test.

Review please

@@ -194,6 +195,7 @@ private void init(final BlueprintPreviewData previewData, final Map<Object, Exce
}

blockAccess.setSolidSubstitutionOverride(null);
blockAccess.setRenderBlocksNiceOverride(Structurize.getConfig().getClient() != null && Structurize.getConfig().getClient().renderPlaceholdersNice.get());
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is client only code, same below

Suggested change
blockAccess.setRenderBlocksNiceOverride(Structurize.getConfig().getClient() != null && Structurize.getConfig().getClient().renderPlaceholdersNice.get());
blockAccess.setRenderBlocksNiceOverride(Structurize.getConfig().getClient().renderPlaceholdersNice.get());

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's still in the other file, mergeable

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants