From d53e6814a09032b8dc4c9aae38201fe49b1f2acc Mon Sep 17 00:00:00 2001 From: NorbiPeti Date: Sun, 17 Jul 2016 00:13:08 +0200 Subject: [PATCH] Fixes --- src/buttondevteam/core/player/TBMCPlayer.java | 12 ++++++++++++ .../core/player/TBMCPlayerSaveEvent.java | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/src/buttondevteam/core/player/TBMCPlayer.java b/src/buttondevteam/core/player/TBMCPlayer.java index aeb6161..aca04ce 100644 --- a/src/buttondevteam/core/player/TBMCPlayer.java +++ b/src/buttondevteam/core/player/TBMCPlayer.java @@ -9,6 +9,18 @@ import org.bukkit.Bukkit; import org.bukkit.configuration.file.YamlConfiguration; import org.bukkit.entity.Player; +/** + *

+ * The class for holding data common to all TBMC plugins + *

+ *

+ * Listen to the load and save events from this package to load and save + * plugin-specific data + *

+ * + * @author Norbi + * + */ public class TBMCPlayer { public String PlayerName; diff --git a/src/buttondevteam/core/player/TBMCPlayerSaveEvent.java b/src/buttondevteam/core/player/TBMCPlayerSaveEvent.java index db90763..9ee98b4 100644 --- a/src/buttondevteam/core/player/TBMCPlayerSaveEvent.java +++ b/src/buttondevteam/core/player/TBMCPlayerSaveEvent.java @@ -16,7 +16,7 @@ public class TBMCPlayerSaveEvent extends Event { this.player = player; } - public YamlConfiguration GetYaml() { + public YamlConfiguration GetPlayerConfig() { return yaml; }