Skip to content

Commit

Permalink
Add abstraction for PlayerBoard
Browse files Browse the repository at this point in the history
  • Loading branch information
BoomEaro committed Apr 25, 2024
1 parent d0dd646 commit 92e9109
Show file tree
Hide file tree
Showing 3 changed files with 388 additions and 332 deletions.
7 changes: 2 additions & 5 deletions src/main/java/ru/boomearo/board/managers/BoardManager.java
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,7 @@
import org.bukkit.entity.Player;
import org.bukkit.plugin.Plugin;
import ru.boomearo.board.hooks.PlaceHolderAPIHook;
import ru.boomearo.board.objects.DefaultPageListFactory;
import ru.boomearo.board.objects.PageListFactory;
import ru.boomearo.board.objects.PlayerBoard;
import ru.boomearo.board.objects.PlayerToggle;
import ru.boomearo.board.objects.*;
import ru.boomearo.board.tasks.BalancedThreadPool;

import java.io.File;
Expand Down Expand Up @@ -202,7 +199,7 @@ public void addPlayerBoard(Player player) {
return;
}

PlayerBoard playerBoard = new PlayerBoard(player.getUniqueId(), player, this.plugin, this);
PlayerBoardImpl playerBoard = new PlayerBoardImpl(player.getUniqueId(), player, this.plugin, this);

this.playerBoards.put(player.getUniqueId(), playerBoard);

Expand Down
Loading

0 comments on commit 92e9109

Please sign in to comment.