Backport to 1.7.10

This commit is contained in:
Jonas Herzig
2017-09-14 16:06:49 +02:00
parent adfe6a2bfc
commit 1283a39ffa
109 changed files with 1170 additions and 1505 deletions

View File

@@ -39,7 +39,7 @@ public class VanillaCameraController implements CameraController {
if (partialTicksPassed == 0) return;
Vector3f direction = new Vector3f(0, 0, 0);
for (int i = 0; i < 6; i++) { // First, get movement direction depending on keys pressed
if (bindings[i].isKeyDown()) {
if (bindings[i].getIsKeyPressed()) {
Vector3f.add(direction, DIRECTIONS[i], direction);
}
}