Skip to content

Commit

Permalink
Merge branch 'server-renderer' into 1.20.2-server-renderer
Browse files Browse the repository at this point in the history
  • Loading branch information
MATRIX-feather committed Dec 19, 2023
2 parents bd21935 + d6c2e74 commit 5ec7ac8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
project_version=0.15.0-beta.2
project_version=0.15.0-beta.3

# FM Protocols
protocols_version=09b2b0a077
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,13 +80,13 @@ protected void doSync()

int potionColor = 0;
List<Color> colors = new ObjectArrayList<>();
boolean hasAmbient = true;
boolean hasAmbient = false;
for (PotionEffect effect : player.getActivePotionEffects())
{
if (effect.hasParticles())
colors.add(effect.getType().getColor());

hasAmbient = effect.isAmbient() && hasAmbient;
hasAmbient = hasAmbient || effect.isAmbient();
}

if (!colors.isEmpty())
Expand Down

0 comments on commit 5ec7ac8

Please sign in to comment.