Skip to content

Commit

Permalink
patch the texture size of the modelrenderer
Browse files Browse the repository at this point in the history
this should resolve the issue with capes
  • Loading branch information
zlainsama committed Feb 11, 2016
1 parent c2682af commit 0bbe529
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ buildscript {

apply plugin: 'forge'

version = "1.7.10-v7"
version = "1.7.10-v7a"
group= "lain.mods.skinport"
archivesBaseName = "SkinPort"

Expand Down
4 changes: 4 additions & 0 deletions src/main/java/lain/mods/skinport/SkinPortModelPlayer.java
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ public SkinPortModelPlayer(float z, boolean smallArms)

this.smallArms = smallArms;

bipedCloak = new ModelRenderer(this, 0, 0);
bipedCloak.setTextureSize(64, 32);
bipedCloak.addBox(-5.0F, 0.0F, -1.0F, 10, 16, 1, z);

if (smallArms)
{
bipedLeftArm = new ModelRenderer(this, 32, 48);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ public SkinPortModelPlayer_RPA(float z, boolean smallArms)

this.smallArms = smallArms;

bipedCloak = new ModelRenderer(this, 0, 0);
bipedCloak.setTextureSize(64, 32);
bipedCloak.addBox(-5.0F, 0.0F, -1.0F, 10, 16, 1, z);

if (smallArms)
{
bipedLeftArm = new ModelRenderer(this, 32, 48);
Expand Down

0 comments on commit 0bbe529

Please sign in to comment.