Skip to content

Commit

Permalink
Update Jellyfish.java
Browse files Browse the repository at this point in the history
  • Loading branch information
AViewFromTheTop committed Dec 28, 2024
1 parent b30e580 commit f0be11f
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,9 @@ public void onSyncedDataUpdated(@NotNull EntityDataAccessor<?> key) {
if (IS_BABY.equals(key)) {
this.refreshDimensions();
}
if (VARIANT.equals(key)) {
this.jellyfishVariant = Optional.of(this.getVariantByLocation());
}
super.onSyncedDataUpdated(key);
}

Expand Down

0 comments on commit f0be11f

Please sign in to comment.