Commit 2ad82e1e653bf372acbf518ce95134f3278d9a2a
1 parent
5274b27d
fix unbalanced profiler stack, version bump to 1.7.2_03
Showing
3 changed files
with
9 additions
and
4 deletions
java/com/mumfrey/liteloader/core/Events.java
| @@ -724,6 +724,8 @@ public class Events | @@ -724,6 +724,8 @@ public class Events | ||
| 724 | this.worldHashCode = 0; | 724 | this.worldHashCode = 0; |
| 725 | this.loader.onWorldChanged(null); | 725 | this.loader.onWorldChanged(null); |
| 726 | } | 726 | } |
| 727 | + | ||
| 728 | + this.minecraft.mcProfiler.endSection(); | ||
| 727 | } | 729 | } |
| 728 | 730 | ||
| 729 | /** | 731 | /** |
java/com/mumfrey/liteloader/core/LiteLoader.java
| @@ -1113,9 +1113,11 @@ public final class LiteLoader | @@ -1113,9 +1113,11 @@ public final class LiteLoader | ||
| 1113 | { | 1113 | { |
| 1114 | this.onShutDown(); | 1114 | this.onShutDown(); |
| 1115 | } | 1115 | } |
| 1116 | + | ||
| 1117 | + this.minecraft.mcProfiler.endSection(); | ||
| 1116 | } | 1118 | } |
| 1117 | 1119 | ||
| 1118 | - this.minecraft.mcProfiler.endStartSection("keybindings"); | 1120 | + this.minecraft.mcProfiler.startSection("keybindings"); |
| 1119 | this.input.onTick(clock); | 1121 | this.input.onTick(clock); |
| 1120 | this.minecraft.mcProfiler.endSection(); | 1122 | this.minecraft.mcProfiler.endSection(); |
| 1121 | } | 1123 | } |
java/com/mumfrey/liteloader/core/LiteLoaderVersion.java
| @@ -9,7 +9,7 @@ import com.mumfrey.liteloader.update.UpdateSite; | @@ -9,7 +9,7 @@ import com.mumfrey.liteloader.update.UpdateSite; | ||
| 9 | * LiteLoader version table | 9 | * LiteLoader version table |
| 10 | * | 10 | * |
| 11 | * @author Adam Mummery-Smith | 11 | * @author Adam Mummery-Smith |
| 12 | - * @version 1.7.2_02 | 12 | + * @version 1.7.2_03 |
| 13 | */ | 13 | */ |
| 14 | public enum LiteLoaderVersion | 14 | public enum LiteLoaderVersion |
| 15 | { | 15 | { |
| @@ -29,12 +29,13 @@ public enum LiteLoaderVersion | @@ -29,12 +29,13 @@ public enum LiteLoaderVersion | ||
| 29 | MC_1_6_4_R2(19, 1380796916, "1.6.4", "1.6.4_02", "1.6.4", "1.6.r4"), | 29 | MC_1_6_4_R2(19, 1380796916, "1.6.4", "1.6.4_02", "1.6.4", "1.6.r4"), |
| 30 | MC_1_7_2_R0(20, 1386027226, "1.7.2", "1.7.2", "1.7.2", "1.7.r1"), | 30 | MC_1_7_2_R0(20, 1386027226, "1.7.2", "1.7.2", "1.7.2", "1.7.r1"), |
| 31 | MC_1_7_2_R1(21, 1388455995, "1.7.2", "1.7.2_01", "1.7.2_01"), | 31 | MC_1_7_2_R1(21, 1388455995, "1.7.2", "1.7.2_01", "1.7.2_01"), |
| 32 | - MC_1_7_2_R2(22, 1391815963, "1.7.2", "1.7.2_02", "1.7.2_02"); | 32 | + MC_1_7_2_R2(22, 1391815963, "1.7.2", "1.7.2_02", "1.7.2_02"), |
| 33 | + MC_1_7_2_R3(23, 0, "1.7.2", "1.7.2_03", "1.7.2_02", "1.7.2_03"); | ||
| 33 | 34 | ||
| 34 | /** | 35 | /** |
| 35 | * Current loader version | 36 | * Current loader version |
| 36 | */ | 37 | */ |
| 37 | - public static final LiteLoaderVersion CURRENT = LiteLoaderVersion.MC_1_7_2_R2; | 38 | + public static final LiteLoaderVersion CURRENT = LiteLoaderVersion.MC_1_7_2_R3; |
| 38 | 39 | ||
| 39 | private static final String UPDATE_SITE_URL = "http://dl.liteloader.com/versions/"; | 40 | private static final String UPDATE_SITE_URL = "http://dl.liteloader.com/versions/"; |
| 40 | private static final String UPDATE_SITE_VERSIONS_JSON = "versions.json"; | 41 | private static final String UPDATE_SITE_VERSIONS_JSON = "versions.json"; |