mirror of
https://github.com/AngelAuraMC/Amethyst-Android.git
synced 2025-09-18 17:15:40 -04:00
Bump up Custom control version
This commit is contained in:
parent
5813c1d90b
commit
e0b2f90508
@ -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));
|
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
|
//The default controls are conform to the V2
|
||||||
version = 2;
|
version = 3;
|
||||||
}
|
}
|
||||||
|
|
||||||
public ControlData findControlData(int keycode) {
|
public ControlData findControlData(int keycode) {
|
||||||
@ -67,7 +67,7 @@ public class CustomControls {
|
|||||||
|
|
||||||
public void save(String path) throws IOException {
|
public void save(String path) throws IOException {
|
||||||
//Current version is the V2 so the version as to be marked as 2 !
|
//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));
|
Tools.write(path, Tools.GLOBAL_GSON.toJson(this));
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user