Skip to content

Commit 9edd62a

Browse files
authored
Merge pull request #259 from Oondanomala/1.8-remove-if
[1.8] Remove useless if statement
2 parents 6a52999 + 85c9d26 commit 9edd62a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/main/java/dev/tr7zw/entityculling/CullTask.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -130,9 +130,9 @@ public void run() {
130130

131131
// 1.8 doesn't know where the heck the camera is... what?!?
132132
private Vec3 getCameraPos() {
133-
if (client.gameSettings.thirdPersonView == 0) {
134-
return client.getRenderViewEntity().getPositionEyes(0);
135-
}
133+
//if (client.gameSettings.thirdPersonView == 0) {
134+
// return client.getRenderViewEntity().getPositionEyes(0);
135+
//}
136136
return client.getRenderViewEntity().getPositionEyes(0);
137137
// doesn't work correctly
138138
// Entity entity = client.getRenderViewEntity();

0 commit comments

Comments
 (0)