Update Minecraft.java

master
PF94 2020-11-22 21:14:36 -05:00
parent 024d2b06d7
commit d9e6c4d602
1 changed files with 4 additions and 4 deletions

View File

@ -410,17 +410,17 @@ public class Minecraft implements Runnable, LevelLoaderListener
}
if (Keyboard.getEventKey() == Keyboard.KEY_PERIOD) {
if (this.paintTexture != 13) {
if (this.paintTexture != 12) {
this.paintTexture += 1;
}
this.paintTexture = 1;
this.paintTexture += 1;
}
if (Keyboard.getEventKey() == Keyboard.KEY_COMMA) {
if (this.paintTexture != 0) {
if (this.paintTexture != 1) {
this.paintTexture -= 1;
}
this.paintTexture = 12;
this.paintTexture -= 1;
}
if (Keyboard.getEventKey() == 21) {
this.yMouseAxis *= -1;