-
-
Notifications
You must be signed in to change notification settings - Fork 337
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
fix the smelter #2189
fix the smelter #2189
Conversation
Add javadocs. Use translation constants. Use consistent naming for AI states and AI State methods. Note areas where changes should be made. Fix checkstyle warnings. Combine startWorking() and checkForAdditionalJobs() as the division is arbitrary.
*/ | ||
private AIState fillUpFurnace() | ||
{ | ||
if (((BuildingSmeltery) getOwnBuilding()).getFurnaces().isEmpty()) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are you sure this works for the Cook. Is his building an instance of BuildingSmeltery or BuildingRestaurant?
* Abstract Class for all furnace users. | ||
*/ | ||
@SuppressWarnings(OVERRIDE_EQUALS) | ||
public abstract class AbstractBuildingFurnaceUser extends AbstractBuildingWorker |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
SonarQube analysis reported 64 issues Watch the comments in this conversation to review them. Top 10 extra issuesNote: The following issues were found on lines that were not modified in the pull request. Because these issues can't be reported as line comments, they are summarized here:
|
Rewrite of Smelter and cook to gain more stability. Also fixes the hitboxes of the new construction-tape.
* Open GUI on server-side, not client-side (#2195) Changes proposed in this pull request: Get rid of evil comment. Change gui open from client-side to server-side. (Fixes #2194) * fix the smelter (#2189) Rewrite of Smelter and cook to gain more stability. Also fixes the hitboxes of the new construction-tape. * fixe herders spawn egg problem and cycling recipes (#2202) * Feature/better builder (#2209) Fixes message concurrency issues Fixes timberframe issues Fixes dumping issues * 1.11/last-changes: Auto stash before cherrypick of "fix the smelter (#2189)" * fix compile issues * Minor fixes (#2226) Fixes constructiontape being placed on workLoad Fixes issues with deleted structures Protects buildings from being detected as trees Reduces particle effects Reports block position if tool is not good enough.
Closes #2144
Rewrite of the smelter should work way smoother and less error-prone now.
Changes proposed in this pull request:
Review please