Fix wool coloring in texture support
This commit is contained in:
parent
e03c141d3e
commit
09fd5abc2f
2 changed files with 4 additions and 3 deletions
|
|
@ -164,7 +164,7 @@ public class HDBlockModels {
|
|||
}
|
||||
}
|
||||
}
|
||||
map[off] = (short)((255*raw_w) / (nativeres*nativeres*nativeres));
|
||||
map[off] = (short)((255*raw_w) / (res*res*res));
|
||||
if(map[off] > 255) map[off] = 255;
|
||||
if(map[off] < 0) map[off] = 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue