diff --git a/src/main/java/com/simonbaars/codearena/minecraft/gui/GUISetupCloneFinding.java b/src/main/java/com/simonbaars/codearena/minecraft/gui/GUISetupCloneFinding.java index d6b132e..464dc8b 100644 --- a/src/main/java/com/simonbaars/codearena/minecraft/gui/GUISetupCloneFinding.java +++ b/src/main/java/com/simonbaars/codearena/minecraft/gui/GUISetupCloneFinding.java @@ -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) {