From e0b2f9050853490c78e29006abf1914731c10504 Mon Sep 17 00:00:00 2001 From: SerpentSpirale Date: Sun, 8 Aug 2021 11:17:25 +0200 Subject: [PATCH] Bump up Custom control version --- .../net/kdt/pojavlaunch/customcontrols/CustomControls.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app_pojavlauncher/src/main/java/net/kdt/pojavlaunch/customcontrols/CustomControls.java b/app_pojavlauncher/src/main/java/net/kdt/pojavlaunch/customcontrols/CustomControls.java index 2851e987b..fdafc9361 100644 --- a/app_pojavlauncher/src/main/java/net/kdt/pojavlaunch/customcontrols/CustomControls.java +++ b/app_pojavlauncher/src/main/java/net/kdt/pojavlaunch/customcontrols/CustomControls.java @@ -51,7 +51,7 @@ public class CustomControls { this.mControlDataList.add(new ControlData(ctx, R.string.control_jump, new int[]{LWJGLGLFWKeycode.GLFW_KEY_SPACE}, "${right} - ${margin} * 2 - ${width}", "${bottom} - ${margin} * 2 - ${height}", true)); //The default controls are conform to the V2 - version = 2; + version = 3; } public ControlData findControlData(int keycode) { @@ -67,7 +67,7 @@ public class CustomControls { public void save(String path) throws IOException { //Current version is the V2 so the version as to be marked as 2 ! - version = 2; + version = 3; Tools.write(path, Tools.GLOBAL_GSON.toJson(this)); }