Fix: Unable to add new arenas - Forgot to add new block announcer option to arena creation
This commit is contained in:
parent
fc4072e780
commit
04056623d4
@ -25,7 +25,7 @@ public class CMDcreate extends DefaultCMD {
|
|||||||
} else {
|
} else {
|
||||||
if (W.pos1.get(player) != null && W.pos2.get(player) != null) {
|
if (W.pos1.get(player) != null && W.pos2.get(player) != null) {
|
||||||
if (W.pos1.get(player).getWorld().equals(W.pos2.get(player).getWorld())) {
|
if (W.pos1.get(player).getWorld().equals(W.pos2.get(player).getWorld())) {
|
||||||
Arena arena = new Arena(args[1], W.pos1.get(player), W.pos2.get(player), 12, 3, 1, 50, 20, 300, 30, new ArrayList<ItemStack>(), null, null, null,
|
Arena arena = new Arena(args[1], W.pos1.get(player), W.pos2.get(player), 12, 3, 1, 50, 20, 300, 30, 45, new ArrayList<ItemStack>(), null, null, null,
|
||||||
null, new ArrayList<String>(), new ArrayList<String>(), new ArrayList<String>(), 10, 50, 8, new ArrayList<Player>(), ArenaState.WAITING,
|
null, new ArrayList<String>(), new ArrayList<String>(), new ArrayList<String>(), 10, 50, 8, new ArrayList<Player>(), ArenaState.WAITING,
|
||||||
0, new ArrayList<Player>(), Bukkit.getScoreboardManager().getNewScoreboard());
|
0, new ArrayList<Player>(), Bukkit.getScoreboardManager().getNewScoreboard());
|
||||||
W.arenas.getFile().set(args[1], arena);
|
W.arenas.getFile().set(args[1], arena);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user