From b477ef0f6542476f1c5fe6dfcf30ad03ddf2cc60 Mon Sep 17 00:00:00 2001 From: Kneelawk Date: Mon, 4 Mar 2024 18:29:33 -0800 Subject: [PATCH] Fix simple things --- .../flywheel/backend/engine/uniform/PlayerUniforms.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/jozufozu/flywheel/backend/engine/uniform/PlayerUniforms.java b/src/main/java/com/jozufozu/flywheel/backend/engine/uniform/PlayerUniforms.java index b32956424..6f57aaf85 100644 --- a/src/main/java/com/jozufozu/flywheel/backend/engine/uniform/PlayerUniforms.java +++ b/src/main/java/com/jozufozu/flywheel/backend/engine/uniform/PlayerUniforms.java @@ -74,7 +74,7 @@ public class PlayerUniforms implements UniformProvider { } private static long writeTeamColor(long ptr, PlayerInfo info) { - int red = 0, green = 0, blue = 0, alpha = 0; + int red = 255, green = 255, blue = 255, alpha = 0; PlayerTeam team = info.getTeam(); if (team != null) { Integer color = team.getColor().getColor(); @@ -118,7 +118,7 @@ public class PlayerUniforms implements UniformProvider { return ptr + 4; } - private long writeEyeIn(long ptr, LocalPlayer player) { + private static long writeEyeIn(long ptr, LocalPlayer player) { ClientLevel level = player.clientLevel; Vec3 eyePos = player.getEyePosition(); BlockPos blockPos = BlockPos.containing(eyePos);