Commit a4937cc6182231e5cdaed6c94a8cb595d8359cb5
1 parent
e70f39ed
Fix backport to 1.11.2
Showing
3 changed files
with
3 additions
and
5 deletions
src/client/java/com/mumfrey/liteloader/client/mixin/MixinMinecraft.java
... | ... | @@ -38,7 +38,6 @@ public abstract class MixinMinecraft implements IMinecraft |
38 | 38 | @Shadow private String serverName; |
39 | 39 | @Shadow private int serverPort; |
40 | 40 | @Shadow private boolean isGamePaused; |
41 | - @Shadow private float renderPartialTicksPaused; | |
42 | 41 | |
43 | 42 | @Shadow abstract void resize(int width, int height); |
44 | 43 | @Shadow private void clickMouse() {} |
... | ... | @@ -103,7 +102,7 @@ public abstract class MixinMinecraft implements IMinecraft |
103 | 102 | private void onTick(CallbackInfo ci) |
104 | 103 | { |
105 | 104 | boolean clock = this.timer.elapsedTicks > 0; |
106 | - float partialTicks = this.isGamePaused ? this.renderPartialTicksPaused : this.timer.renderPartialTicks; | |
105 | + float partialTicks = this.timer.renderPartialTicks; | |
107 | 106 | this.broker.onTick(clock, partialTicks); |
108 | 107 | } |
109 | 108 | ... | ... |
src/client/java/com/mumfrey/liteloader/client/mixin/MixinTileEntityRendererDispatcher.java
... | ... | @@ -19,11 +19,11 @@ import net.minecraft.tileentity.TileEntity; |
19 | 19 | @Mixin(TileEntityRendererDispatcher.class) |
20 | 20 | public abstract class MixinTileEntityRendererDispatcher implements ITileEntityRendererDispatcher |
21 | 21 | { |
22 | - @Shadow private Map<Class<? extends TileEntity>, TileEntitySpecialRenderer<? extends TileEntity>> renderers; | |
22 | + @Shadow private Map<Class<? extends TileEntity>, TileEntitySpecialRenderer<? extends TileEntity>> mapSpecialRenderers; | |
23 | 23 | |
24 | 24 | @Override |
25 | 25 | public Map<Class<? extends TileEntity>, TileEntitySpecialRenderer<? extends TileEntity>> getSpecialRenderMap() |
26 | 26 | { |
27 | - return this.renderers; | |
27 | + return this.mapSpecialRenderers; | |
28 | 28 | } |
29 | 29 | } | ... | ... |
src/client/java/com/mumfrey/liteloader/modconfig/AbstractConfigPanel.java