1
0
mirror of https://github.com/mcMMO-Dev/mcMMO.git synced 2026-02-19 02:12:58 +01:00

More work on gutting out the new skill system & reducing compiler errors

This commit is contained in:
nossr50
2021-03-17 14:35:24 -07:00
parent b20beed836
commit ef06546721
28 changed files with 697 additions and 922 deletions

View File

@@ -6,6 +6,7 @@ import com.gmail.nossr50.datatypes.database.DatabaseType;
import com.gmail.nossr50.datatypes.database.PlayerStat;
import com.gmail.nossr50.datatypes.player.PlayerProfile;
import com.gmail.nossr50.datatypes.skills.PrimarySkillType;
import com.neetgames.mcmmo.player.MMOPlayer;
import org.bukkit.entity.Player;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
@@ -49,10 +50,10 @@ public interface DatabaseManager {
/**
* Save a user to the database.
*
* @param profile The profile of the player to save
* @param mmoPlayer The player to save
* @return true if successful, false on failure
*/
boolean saveUser(PlayerProfile profile);
boolean saveUser(@NotNull MMOPlayer mmoPlayer);
/**
* Retrieve leaderboard info.