This commit is contained in:
Norbi Peti 2016-07-17 00:13:08 +02:00
parent 84d0be51fb
commit d53e6814a0
2 changed files with 13 additions and 1 deletions

View file

@ -9,6 +9,18 @@ import org.bukkit.Bukkit;
import org.bukkit.configuration.file.YamlConfiguration; import org.bukkit.configuration.file.YamlConfiguration;
import org.bukkit.entity.Player; import org.bukkit.entity.Player;
/**
* <p>
* The class for holding data common to all TBMC plugins
* </p>
* <p>
* Listen to the load and save events from this package to load and save
* plugin-specific data
* </p>
*
* @author Norbi
*
*/
public class TBMCPlayer { public class TBMCPlayer {
public String PlayerName; public String PlayerName;

View file

@ -16,7 +16,7 @@ public class TBMCPlayerSaveEvent extends Event {
this.player = player; this.player = player;
} }
public YamlConfiguration GetYaml() { public YamlConfiguration GetPlayerConfig() {
return yaml; return yaml;
} }