mirror of
https://github.com/Maxlego08/zKoth.git
synced 2024-11-26 12:35:17 +01:00
🐛 Fix SternalBoard
This commit is contained in:
parent
fd898140cd
commit
89f41c0809
16
plugin.yml
16
plugin.yml
@ -2,6 +2,20 @@ name: zKoth
|
||||
author: Maxlego08
|
||||
main: fr.maxlego08.zkoth.ZKothPlugin
|
||||
version: 2.1.0.8
|
||||
softdepend: [PlaceholderAPI, Guilds, Factions, FactionsX, SuperiorSkyblock2, LegacyFactions, FeatherBoard, TAB, TitleManager, UltimateFactions, Multiverse-Core, SternalBoard, SimpleClan]
|
||||
softdepend:
|
||||
- PlaceholderAPI
|
||||
- Guilds
|
||||
- Factions
|
||||
- FactionsX
|
||||
- SuperiorSkyblock2
|
||||
- LegacyFactions
|
||||
- FeatherBoard
|
||||
- TAB
|
||||
- TitleManager
|
||||
- UltimateFactions
|
||||
- Multiverse-Core
|
||||
- SternalBoard
|
||||
- SimpleClan
|
||||
- SternalBoard
|
||||
commands:
|
||||
api-version: 1.13
|
@ -5,7 +5,7 @@ import java.util.function.Consumer;
|
||||
import org.bukkit.entity.Player;
|
||||
import org.bukkit.plugin.Plugin;
|
||||
|
||||
import com.xism4.sternalboard.Structure;
|
||||
import com.xism4.sternalboard.SternalBoard;
|
||||
import com.xism4.sternalboard.managers.ScoreboardManager;
|
||||
|
||||
import fr.maxlego08.zkoth.api.Scoreboard;
|
||||
@ -18,8 +18,9 @@ public class SternalBoardHook implements Scoreboard {
|
||||
* @param manager
|
||||
*/
|
||||
public SternalBoardHook(Plugin plugin) {
|
||||
super();
|
||||
this.manager = ((Structure) plugin).getScoreboardManager();
|
||||
super();
|
||||
|
||||
this.manager = SternalBoard.getInstance().getScoreboardManager();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
Reference in New Issue
Block a user