Lets see if this fixes the research removal.

This commit is contained in:
unknown committed 2015-01-24 13:47:53 -06:00
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);