mirror of
https://github.com/Sollace/Unicopia.git
synced 2024-11-30 16:28:00 +01:00
Disable rolling and pitching for now. That had some weird side-effects
This commit is contained in:
parent
18bbce8c0e
commit
4cb2b6d0e0
1 changed files with 2 additions and 2 deletions
|
@ -177,12 +177,12 @@ public class UnicopiaClient extends UClient {
|
||||||
IPlayer iplayer = PlayerSpeciesList.instance().getPlayer((EntityPlayer)event.getEntity());
|
IPlayer iplayer = PlayerSpeciesList.instance().getPlayer((EntityPlayer)event.getEntity());
|
||||||
System.out.println(event.getEntity().getName());
|
System.out.println(event.getEntity().getName());
|
||||||
|
|
||||||
if (!MineLP.modIsActive()) {
|
/*if (!MineLP.modIsActive()) {
|
||||||
float roll = iplayer.getCamera().calculateRoll();
|
float roll = iplayer.getCamera().calculateRoll();
|
||||||
float pitch = iplayer.getCamera().calculatePitch(0);
|
float pitch = iplayer.getCamera().calculatePitch(0);
|
||||||
GlStateManager.rotate(roll, 0, 0, 1);
|
GlStateManager.rotate(roll, 0, 0, 1);
|
||||||
GlStateManager.rotate(pitch, 1, 0, 0);
|
GlStateManager.rotate(pitch, 1, 0, 0);
|
||||||
}
|
}*/
|
||||||
|
|
||||||
if (iplayer.isInvisible()) {
|
if (iplayer.isInvisible()) {
|
||||||
event.setCanceled(true);
|
event.setCanceled(true);
|
||||||
|
|
Loading…
Reference in a new issue