Skip to content

Commit

Permalink
Fix: allow top donor to show their Minecraft name again
Browse files Browse the repository at this point in the history
  • Loading branch information
Gegy committed Nov 3, 2023
1 parent 1dcbe56 commit 9f949c4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ private void applyToEntity(Entity entity, @Nullable String minecraftName, Compon
data.putUUID("ProfileID", Util.NIL_UUID);
data.putString("CustomName", Component.Serializer.toJson(fallbackName));
} else if (minecraftName != null) {
data.putString("CustomName", EMPTY_COMPONENT_STRING);
data.remove("CustomName");
entity.setCustomName(null);
data.putString("ProfileName", minecraftName);
} else {
Expand Down

0 comments on commit 9f949c4

Please sign in to comment.