Skip to content

Commit

Permalink
Merge pull request #26 from Cube-Nation/old-db-models
Browse files Browse the repository at this point in the history
removed BedrockWorld and migrated to BedrockOfflinePlayer
  • Loading branch information
kronnox authored Mar 7, 2022
2 parents 4b95089 + 3cafba4 commit 7b73ebb
Show file tree
Hide file tree
Showing 14 changed files with 245 additions and 728 deletions.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

package de.cubenation.bedrock.bukkit.api.exception;

import de.cubenation.bedrock.bukkit.api.ebean.BedrockPlayer;
import de.cubenation.bedrock.core.model.BedrockOfflinePlayer;

import java.io.IOException;
import java.util.ArrayList;
Expand All @@ -42,11 +42,11 @@ public BedrockEbeanEntityNotFoundException(Class clazz, int id) {
super(String.format("Could not find bedrock ebean entity %s for id %s", clazz.toString(), id));
}

public BedrockEbeanEntityNotFoundException(Class<BedrockPlayer> clazz, ArrayList<Integer> ids) {
public BedrockEbeanEntityNotFoundException(Class<BedrockOfflinePlayer> clazz, ArrayList<Integer> ids) {
super(String.format("Could not find bedrock ebean entity %s for ids %s", clazz.toString(), ids));
}

public BedrockEbeanEntityNotFoundException(ArrayList<String> uuids, Class<BedrockPlayer> clazz) {
public BedrockEbeanEntityNotFoundException(ArrayList<String> uuids, Class<BedrockOfflinePlayer> clazz) {
super(String.format("Could not find bedrock ebean entity %s for ids %s", clazz.toString(), uuids));
}
}
Loading

0 comments on commit 7b73ebb

Please sign in to comment.