mirror of
https://github.com/darksaid98/AlathranWars.git
synced 2026-12-01 22:14:45 +00:00
awa purgebars, awa load/save framework
This commit is contained in:
1 parent
95175f1057
commit
9d2b8612d2
6 files changed
+109
-7
No files matched your search
@@ -1,12 +1,9 @@
|
||||
package me.ShermansWorld.AlathraWar.data;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Collection;
|
||||
import java.util.HashMap;
|
||||
import java.util.HashSet;
|
||||
import java.util.UUID;
|
||||
import java.util.*;
|
||||
|
||||
import org.bukkit.Bukkit;
|
||||
import org.bukkit.NamespacedKey;
|
||||
import org.bukkit.OfflinePlayer;
|
||||
|
||||
import com.palmergames.bukkit.towny.TownyAPI;
|
||||
@@ -26,6 +23,17 @@ public class SiegeData
|
||||
return sieges;
|
||||
}
|
||||
|
||||
private static Set<NamespacedKey> siegeBars = new HashSet<>();
|
||||
|
||||
public static Set<NamespacedKey> getSiegeBars() {
|
||||
return siegeBars;
|
||||
}
|
||||
|
||||
public static void addSiegeBar(NamespacedKey key) {
|
||||
siegeBars.add(key);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets a siege with a specific name
|
||||
* @param name - Name to check
|
||||
|
||||
Reference in new issue
Block a user