From 8aaef569555e83c2c9332c7bc2355fb599bcc212 Mon Sep 17 00:00:00 2001 From: david Date: Wed, 15 Jan 2025 22:33:57 +0100 Subject: [PATCH] Refactor skinParts initialization order Reordered the skinParts field initialization to comply with standard Java practice of placing final fields below non-final fields. This improves code readability and consistency across the class structure. --- .../character/plugin/character/PaperPlayerCharacter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/net/thenextlvl/character/plugin/character/PaperPlayerCharacter.java b/src/main/java/net/thenextlvl/character/plugin/character/PaperPlayerCharacter.java index 0adcdf4..27d21f3 100644 --- a/src/main/java/net/thenextlvl/character/plugin/character/PaperPlayerCharacter.java +++ b/src/main/java/net/thenextlvl/character/plugin/character/PaperPlayerCharacter.java @@ -49,10 +49,10 @@ @NullMarked public class PaperPlayerCharacter extends PaperCharacter implements PlayerCharacter { + private SkinParts skinParts = new PaperSkinPartBuilder().build(); private boolean listed = false; private boolean realPlayer = false; private final CraftPlayerProfile profile; - private SkinParts skinParts = new PaperSkinPartBuilder().build(); public PaperPlayerCharacter(CharacterPlugin plugin, String name, UUID uuid) { super(plugin, name, EntityType.PLAYER);