mirror of
https://github.com/GTNewHorizons/ModTweaker.git
synced 2026-11-11 15:57:52 +00:00
Lets see if this fixes the research removal.
This commit is contained in:
1 parent
4bf3d9a1df
commit
f2f79cf576
1 file changed
+1
-1
@@ -12,11 +12,11 @@ public class RemoveResearch implements IUndoableAction {
|
||||
|
||||
public RemoveResearch(String victim) {
|
||||
key = victim;
|
||||
tab = ThaumcraftHelper.getResearchTab(key);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void apply() {
|
||||
tab = ThaumcraftHelper.getResearchTab(key);
|
||||
if (tab != null) {
|
||||
removed = ResearchCategories.researchCategories.get(tab).research.get(key);
|
||||
ResearchCategories.researchCategories.get(tab).research.remove(key);
|
||||
|
||||
Reference in new issue
Block a user