rs-client: more random bits and pieces, last for today i swear

This commit is contained in:
Lucwousin
2019-08-03 01:10:32 +02:00
parent 5b5ee5b5a6
commit b871ebc8e4
11 changed files with 489 additions and 496 deletions

View File

@@ -1244,10 +1244,10 @@ public class ModelData extends Entity {
@ObfuscatedName("y")
@Export("recolor")
public void recolor(short var1, short var2) {
public void recolor(short from, short to) {
for (int var3 = 0; var3 < this.faceCount; ++var3) {
if (this.faceColors[var3] == var1) {
this.faceColors[var3] = var2;
if (this.faceColors[var3] == from) {
this.faceColors[var3] = to;
}
}