mirror of
https://github.com/Jozufozu/Flywheel.git
synced 2024-11-14 22:43:56 +01:00
Fix simple things
This commit is contained in:
parent
8f4958ee2a
commit
b477ef0f65
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user