Disable rolling and pitching for now. That had some weird side-effects

This commit is contained in:
Sollace 2019-02-09 20:15:58 +02:00
parent 18bbce8c0e
commit 4cb2b6d0e0

View file

@ -177,12 +177,12 @@ public class UnicopiaClient extends UClient {
IPlayer iplayer = PlayerSpeciesList.instance().getPlayer((EntityPlayer)event.getEntity());
System.out.println(event.getEntity().getName());
if (!MineLP.modIsActive()) {
/*if (!MineLP.modIsActive()) {
float roll = iplayer.getCamera().calculateRoll();
float pitch = iplayer.getCamera().calculatePitch(0);
GlStateManager.rotate(roll, 0, 0, 1);
GlStateManager.rotate(pitch, 1, 0, 0);
}
}*/
if (iplayer.isInvisible()) {
event.setCanceled(true);