Fix entity rendering bug
This commit is contained in:
parent
5c125b1bf4
commit
eff54443ee
63158
javascript/classes.js
63158
javascript/classes.js
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
Binary file not shown.
|
@ -5,7 +5,7 @@ import java.util.List;
|
|||
|
||||
public class ConfigConstants {
|
||||
|
||||
public static final String version = "25w10b";
|
||||
public static final String version = "25w10c";
|
||||
public static final String mainMenuString = "Eaglercraft " + version;
|
||||
|
||||
public static final String forkMe = "https://git.zelz.net/catfoolyou/Project164";
|
||||
|
|
|
@ -269,7 +269,12 @@ public abstract class RendererLivingEntity extends Render
|
|||
*/
|
||||
protected void renderModel(EntityLivingBase par1EntityLivingBase, float par2, float par3, float par4, float par5, float par6, float par7)
|
||||
{
|
||||
if(par1EntityLivingBase instanceof EntityPlayer){
|
||||
this.bindTexture(par1EntityLivingBase);
|
||||
}
|
||||
else {
|
||||
this.bindEntityTexture(par1EntityLivingBase);
|
||||
}
|
||||
|
||||
if (!par1EntityLivingBase.isInvisible())
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue