Skip to content

Commit

Permalink
Integrated clone type
Browse files Browse the repository at this point in the history
Closes #30
  • Loading branch information
SimonBaars committed May 19, 2019
1 parent 86ba1f5 commit 3f5c191
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,9 @@ protected void actionPerformed(GuiButton button) {
Settings.get().setMinAmountOfNodes(Integer.parseInt(minLines));
} catch(Exception e) {}
}
try {
Settings.get().setCloneType(com.simonbaars.clonerefactor.settings.CloneType.valueOf("TYPE"+cloneType));
} catch (Exception e) {}
CloneDetection.get().eventHandler.nextTickActions.add(() -> ProblemDetectionThread.startWorker( Minecraft.getMinecraft().player, InputProject.getText()));
}
if (button.id == 1) {
Expand Down

0 comments on commit 3f5c191

Please sign in to comment.