Skip to content
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

Make controller size limits configurable #2671

Closed
wants to merge 1 commit into from
Closed

Make controller size limits configurable #2671

wants to merge 1 commit into from

Conversation

Prototik
Copy link

@Prototik Prototik commented Dec 1, 2016

No description provided.

@@ -195,6 +198,10 @@ private AEConfig( final File configFile )
this.colorApplicatorBattery = this.get( "battery", "colorApplicator", this.colorApplicatorBattery ).getInt( this.colorApplicatorBattery );
this.matterCannonBattery = this.get( "battery", "matterCannon", this.matterCannonBattery ).getInt( this.matterCannonBattery );

this.controllerMaxX = this.get( "controller", "maxX", this.controllerMaxX ).getInt( this.controllerMaxX );
Copy link

Choose a reason for hiding this comment

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

CRITICAL Define a constant instead of duplicating this literal "controller" 3 times. rule

@orod-org
Copy link

orod-org commented Dec 1, 2016

SonarQube analysis reported 1 issue

  • CRITICAL 1 critical

Watch the comments in this conversation to review them.

Copy link
Collaborator

@XFactHD XFactHD left a comment

Choose a reason for hiding this comment

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

There needs to be a limit to the size of the controller, else people will build controllers crossing multiple chunks.

@Prototik
Copy link
Author

Prototik commented Dec 1, 2016

@XFactHD that's problem of people how to load chunks properly. With current limit in 7 blocks it's also possible to build controller in different chunks. Despite this config properties could be used to decrease max size too.

@yueh
Copy link
Member

yueh commented Dec 1, 2016

#841

@yueh yueh closed this Dec 1, 2016
@Prototik
Copy link
Author

Prototik commented Dec 1, 2016

Okay, then I'll create mod that fix this behaviour instead of patching every version of ae...

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 28, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants