mirror of
https://gitlab.com/phoenix-dvpmt/mmocore.git
synced 2024-11-27 00:45:40 +01:00
Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
3d48a7e7c0
@ -34,7 +34,7 @@ public class MMOCoreProfileDataModule implements ProfileDataModule, Listener {
|
||||
@Override
|
||||
public void processPlaceholderRequest(PlaceholderRequest placeholderRequest) {
|
||||
final PlayerData fictiveData = new PlayerData(new MMOPlayerData(placeholderRequest.getProfile().getUniqueId()));
|
||||
MMOCore.plugin.playerDataManager.getDataHandler().loadData(fictiveData).thenRun(() -> {
|
||||
MMOCore.plugin.playerDataManager.loadData(fictiveData).thenRun(() -> {
|
||||
placeholderRequest.addPlaceholder("class", fictiveData.getProfess().getName());
|
||||
placeholderRequest.addPlaceholder("level", fictiveData.getLevel());
|
||||
|
||||
|
@ -18,7 +18,7 @@ import java.util.List;
|
||||
import java.util.UUID;
|
||||
import java.util.stream.Collectors;
|
||||
|
||||
public class SQLDataHandler extends SQLSynchronizedDataHandler<PlayerData, OfflinePlayerData, MMOCoreDataSynchronizer> {
|
||||
public class SQLDataHandler extends SQLSynchronizedDataHandler<PlayerData, OfflinePlayerData> {
|
||||
public SQLDataHandler(SQLDataSource dataSource) {
|
||||
super(dataSource);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user