mirror of
https://github.com/darksaid98/AlathranWars.git
synced 2026-12-02 06:28:52 +00:00
finalize creation of events through console
This commit is contained in:
1 parent
6c6828f7fa
commit
95175f1057
4 files changed
+63
-45
No files matched your search
@@ -10,6 +10,7 @@ import me.ShermansWorld.AlathraWar.Main;
|
||||
import me.ShermansWorld.AlathraWar.Raid;
|
||||
import me.ShermansWorld.AlathraWar.War;
|
||||
import org.bukkit.Bukkit;
|
||||
import org.bukkit.NamespacedKey;
|
||||
import org.bukkit.OfflinePlayer;
|
||||
|
||||
import javax.annotation.Nonnull;
|
||||
@@ -19,10 +20,18 @@ public class RaidData {
|
||||
// Static Raid list for all active raids
|
||||
private static ArrayList<Raid> raids = new ArrayList<Raid>();
|
||||
|
||||
|
||||
private static Set<NamespacedKey> raidBars = new HashSet<>();
|
||||
|
||||
public static Set<NamespacedKey> getRaidBars() {
|
||||
return raidBars;
|
||||
}
|
||||
|
||||
public static ArrayList<Raid> getRaids() {
|
||||
return raids;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets a raid with a specific name
|
||||
*
|
||||
|
||||
Reference in new issue
Block a user