Merge pull request #2026 from frengor/master

Fix Wrong AutoTeam Color
This commit is contained in:
Nassim 2020-08-21 21:35:13 +02:00 committed by GitHub
commit 95d56c970c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -246,12 +246,12 @@ public class EntityTracker1_9 extends EntityTracker {
if (!teamExists) {
wrapper.write(Type.BYTE, (byte) 0); // make team
wrapper.write(Type.STRING, "viaversion");
wrapper.write(Type.STRING, ""); // prefix
wrapper.write(Type.STRING, "§f"); // prefix
wrapper.write(Type.STRING, ""); // suffix
wrapper.write(Type.BYTE, (byte) 0); // friendly fire
wrapper.write(Type.STRING, ""); // nametags
wrapper.write(Type.STRING, "never"); // collision rule :)
wrapper.write(Type.BYTE, (byte) 0); // color
wrapper.write(Type.BYTE, (byte) 15); // color
} else {
wrapper.write(Type.BYTE, (byte) 3);
}