If you added the support that I released, there are 2 bugs that was found by Zion,
-When attaching a graphics to the player model, no texture would show
-When attaching a graphics to the player model, the black triangle as shown below, would render
Preview:

Code:
public final void method480(int intensity, int fall_off, int x, int y, int z) {
for (int face = 0; face < faces; face++) {
int a = edge_a[face];
int b = edge_b[face];
int c = edge_c[face];
short texture_id;
if(texture == null) {
texture_id = -1;
} else {
texture_id = texture[face];
/**
* black triangle fix in texture models
*/
if(alpha != null && color != null)
if(color[face] == 0) {
if(render_type[face] != 0) {
alpha[face] = 255;
}
}
}
In
Code:
//Players - graphics + player model
public Model(Model model_segments[]) {
int length = 2;
Code:
if(texture_flag) {
if(build.texture != null) {
texture[faces] = build.texture[segment_index];//change segment_index to face
} else
texture[faces] = -1;
}
if(coordinate_flag) {
if(build.texture_coordinates != null && build.texture_coordinates[segment_index] != -1) //change segment_index to face
texture_coordinates[faces] = (byte) (build.texture_coordinates[segment_index] + texture_faces);//change segment_index to face
else
texture_coordinates[faces] = -1;
}
Should be it, I've noticed no errors but if any occur please contact me so I can solve it.
(As far as I'm aware that black triangle on models is due to how they are dumped? Not to sure yet though but force dumping seems to corrupt a lot)