Moved player data and plugin updater (#5) from the chat plugin #6
2 changed files with 13 additions and 1 deletions
|
@ -9,6 +9,18 @@ import org.bukkit.Bukkit;
|
|||
import org.bukkit.configuration.file.YamlConfiguration;
|
||||
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 String PlayerName;
|
||||
|
||||
|
|
|
@ -16,7 +16,7 @@ public class TBMCPlayerSaveEvent extends Event {
|
|||
this.player = player;
|
||||
}
|
||||
|
||||
public YamlConfiguration GetYaml() {
|
||||
public YamlConfiguration GetPlayerConfig() {
|
||||
return yaml;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue