Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @Override
- @SideOnly(Side.CLIENT)
- protected ResourceLocation getEntityTexture(Entity entity) {
- ResourceLocation resourcelocation = AbstractClientPlayer.locationStevePng;
- if (GuiSkinChanger.Skin != null && GuiSkinChanger.Skin.length() > 0)
- {
- resourcelocation = AbstractClientPlayer.getLocationSkull(GuiSkinChanger.Skin);
- AbstractClientPlayer.getDownloadImageSkin(resourcelocation, GuiSkinChanger.Skin);
- }
- return resourcelocation;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement