From 8ae2b7fecfa8b84eef4fdd1f3dfb4f354b630510 Mon Sep 17 00:00:00 2001 From: Silent Date: Tue, 17 Nov 2020 22:43:22 +0100 Subject: [PATCH] Forgot to save the file --- src/main/java/tsp/headdb/listener/JoinListener.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/tsp/headdb/listener/JoinListener.java b/src/main/java/tsp/headdb/listener/JoinListener.java index 4b2f007..e3eaab6 100644 --- a/src/main/java/tsp/headdb/listener/JoinListener.java +++ b/src/main/java/tsp/headdb/listener/JoinListener.java @@ -14,6 +14,7 @@ public class JoinListener implements Listener { @EventHandler public void onJoin(PlayerJoinEvent e) { HeadDB.getPlayerdata().set(e.getPlayer().getUniqueId().toString() + ".username", e.getPlayer().getName()); + HeadDB.getPlayerdata().save(); } }