1
mirror of https://github.com/CarmJos/EasyConfiguration.git synced 2026-06-05 02:58:20 +08:00

feat(section): Add #path and #fullPath for sections

This commit is contained in:
2025-02-25 00:04:24 +08:00
parent 842cd78ce3
commit 6f28abebb9
20 changed files with 181 additions and 66 deletions
@@ -36,6 +36,7 @@ public class UserRecord extends AbstractRecord {
}
public static UserRecord deserialize(ConfigureSection section) {
System.out.println("> Deserializing -> " + section.fullPath());
String name = section.getString("name");
if (name == null) throw new NullPointerException("name is null");
String uuidString = section.getString("info.uuid");