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

Added a better way for the Processing Array to handle recipes. #1551

Merged
merged 4 commits into from
Apr 6, 2020

Conversation

draknyte1
Copy link
Collaborator

Now addons can register their machines for PA support.

public class GT_ProcessingArray_Manager {

private static final HashMap<Integer, String> mMetaKeyMap = new HashMap<Integer, String>();
private static final HashMap<String, GT_Recipe_Map> mRecipeCache = new HashMap<String, GT_Recipe_Map>();
Copy link
Collaborator Author

@draknyte1 draknyte1 Feb 28, 2020

Choose a reason for hiding this comment

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

Should probably change this to a set type collection or check for existing key to save a cpu cycle or two.

@draknyte1 draknyte1 merged commit e9ac987 into Blood-Asp:unstable Apr 6, 2020
Dream-Master added a commit to GTNewHorizons/GT5-Unofficial that referenced this pull request Apr 6, 2020
Dream-Master added a commit to GTNewHorizons/NewHorizonsCoreMod that referenced this pull request Apr 6, 2020
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.

1 participant