Fix mouse input to overlays while the replay is paused in 1.8-1.12.2
This commit is contained in:
@@ -70,11 +70,7 @@ public class InputReplayTimer extends WrappedTimer {
|
|||||||
mc.keyboard.pollDebugCrash();
|
mc.keyboard.pollDebugCrash();
|
||||||
//#else
|
//#else
|
||||||
//#if MC>=10904
|
//#if MC>=10904
|
||||||
//$$ if (mc.currentScreen == null || mc.currentScreen.allowUserInput) {
|
//$$ if (mc.currentScreen != null) {
|
||||||
//$$ ((MCVer.MinecraftMethodAccessor) mc).replayModRunTickMouse();
|
|
||||||
//$$ ((MCVer.MinecraftMethodAccessor) mc).replayModRunTickKeyboard();
|
|
||||||
//$$ } else {
|
|
||||||
//#if MC<11300
|
|
||||||
//#if MC>=10800
|
//#if MC>=10800
|
||||||
//$$ try {
|
//$$ try {
|
||||||
//$$ mc.currentScreen.handleInput();
|
//$$ mc.currentScreen.handleInput();
|
||||||
@@ -84,7 +80,10 @@ public class InputReplayTimer extends WrappedTimer {
|
|||||||
//#else
|
//#else
|
||||||
//$$ mc.currentScreen.handleInput();
|
//$$ mc.currentScreen.handleInput();
|
||||||
//#endif
|
//#endif
|
||||||
//#endif
|
//$$ }
|
||||||
|
//$$ if (mc.currentScreen == null || mc.currentScreen.allowUserInput) {
|
||||||
|
//$$ ((MCVer.MinecraftMethodAccessor) mc).replayModRunTickMouse();
|
||||||
|
//$$ ((MCVer.MinecraftMethodAccessor) mc).replayModRunTickKeyboard();
|
||||||
//$$ }
|
//$$ }
|
||||||
//#else
|
//#else
|
||||||
//$$ // 1.8.9 and below has one giant tick function, so we try to only do keyboard & mouse as far as possible
|
//$$ // 1.8.9 and below has one giant tick function, so we try to only do keyboard & mouse as far as possible
|
||||||
|
|||||||
Reference in New Issue
Block a user