Does not render Player's item/hand if Spectating a Spectator Mode Player
This commit is contained in:
@@ -49,6 +49,8 @@ public class SpectatorRenderer {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void renderSpectatorHand(EntityPlayer entityPlayer, float partialTicks, int renderPass) {
|
public void renderSpectatorHand(EntityPlayer entityPlayer, float partialTicks, int renderPass) {
|
||||||
|
if(entityPlayer.isInvisible()) return;
|
||||||
|
|
||||||
if (entityPlayer != currentPlayer) {
|
if (entityPlayer != currentPlayer) {
|
||||||
updateNow(entityPlayer);
|
updateNow(entityPlayer);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user