W
This commit is contained in:
parent
5564600a94
commit
fb7332d378
File diff suppressed because it is too large
Load Diff
14429
javascript/classes.js
14429
javascript/classes.js
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
|
@ -657,11 +657,13 @@ public class EntityRenderer implements IResourceManagerReloadListener {
|
|||
}
|
||||
|
||||
public void enableLightmap() {
|
||||
if(!ModManager.fpsOptions.lightUpdates.getValue() || !ModManager.fullbright.isEnabled()){
|
||||
if(!ModManager.fpsOptions.lightUpdates.getValue() || !ModManager.fullbright.isEnabled())
|
||||
return;
|
||||
|
||||
GlStateManager.setActiveTexture(OpenGlHelper.lightmapTexUnit);
|
||||
GlStateManager.enableTexture2D();
|
||||
GlStateManager.setActiveTexture(OpenGlHelper.defaultTexUnit);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/**+
|
||||
|
|
|
@ -79,6 +79,8 @@ public class Timer {
|
|||
this.elapsedPartialTicks = (float) ((double) this.elapsedPartialTicks + d2 * (double) this.timerSpeed * (double) this.ticksPerSecond);
|
||||
this.elapsedTicks = (int) this.elapsedPartialTicks;
|
||||
this.elapsedPartialTicks -= (float) this.elapsedTicks;
|
||||
this.elapsedPartialTicks = (float) Math.round(this.elapsedPartialTicks * 100) / 100.0f;
|
||||
|
||||
if (this.elapsedTicks > 10) {
|
||||
this.elapsedTicks = 10;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user