Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- protected PlayerData searchForPlayer(final int id){
- Player temp = PlayerDataAccess.getPlayerInfoById(id);
- if(temp == null)
- throw new NullPointerException("Jogador/id inexistente.");
- PlayerDataHandler plData = (PlayerDataHandler) temp;
- return PlayerData.serialize(plData).use("simple_format");
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement