In first-person spectator mode, render the items in the players hand if it's invisible, only the hand should be invisible
This commit is contained in:
@@ -40,7 +40,7 @@ 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.isInvisible() && itemToRender == null) return;
|
||||||
|
|
||||||
if (entityPlayer != currentPlayer) {
|
if (entityPlayer != currentPlayer) {
|
||||||
updateNow(entityPlayer);
|
updateNow(entityPlayer);
|
||||||
|
|||||||
Reference in New Issue
Block a user