Skip to content

Commit

Permalink
0.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
burningtnt committed Jan 4, 2025
1 parent aab9f3f commit a5231a4
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@
import java.util.concurrent.CompletableFuture;

public class EntityProjection extends LivingEntity {
private static final CompletableFuture<Optional<GameProfile>> EMPTY_GAME_PROFILE = CompletableFuture.completedFuture(Optional.empty());

@OnlyIn(Dist.CLIENT)
public CompletableFuture<Optional<GameProfile>> gameProfile = CompletableFuture.completedFuture(Optional.empty());
public CompletableFuture<Optional<GameProfile>> gameProfile = EMPTY_GAME_PROFILE;

public EntityProjection(EntityType<? extends LivingEntity> entityType, Level level) {
super(entityType, level);
Expand Down

0 comments on commit a5231a4

Please sign in to comment.