mirror of
https://github.com/garbagemule/MobArena.git
synced 2024-11-23 11:06:14 +01:00
Expose min- and max-player methods on Arena.
This commit is contained in:
parent
3b47ca407e
commit
809ee2facb
@ -1,7 +1,7 @@
|
|||||||
name: MobArena
|
name: MobArena
|
||||||
author: garbagemule
|
author: garbagemule
|
||||||
main: com.garbagemule.MobArena.MobArena
|
main: com.garbagemule.MobArena.MobArena
|
||||||
version: 0.95.5.24
|
version: 0.95.5.25
|
||||||
softdepend: [Multiverse-Core,Towny,Heroes,MagicSpells,Vault]
|
softdepend: [Multiverse-Core,Towny,Heroes,MagicSpells,Vault]
|
||||||
commands:
|
commands:
|
||||||
ma:
|
ma:
|
||||||
|
@ -236,11 +236,13 @@ public class ArenaImpl implements Arena
|
|||||||
edit = value;
|
edit = value;
|
||||||
}
|
}
|
||||||
|
|
||||||
private int getMinPlayers() {
|
@Override
|
||||||
|
public int getMinPlayers() {
|
||||||
return settings.getInt("min-players");
|
return settings.getInt("min-players");
|
||||||
}
|
}
|
||||||
|
|
||||||
private int getMaxPlayers() {
|
@Override
|
||||||
|
public int getMaxPlayers() {
|
||||||
return settings.getInt("max-players");
|
return settings.getInt("max-players");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -54,6 +54,10 @@ public interface Arena
|
|||||||
|
|
||||||
public void setEditMode(boolean value);
|
public void setEditMode(boolean value);
|
||||||
|
|
||||||
|
public int getMinPlayers();
|
||||||
|
|
||||||
|
public int getMaxPlayers();
|
||||||
|
|
||||||
public List<ItemStack> getEntryFee();
|
public List<ItemStack> getEntryFee();
|
||||||
|
|
||||||
public Set<Map.Entry<Integer,List<ItemStack>>> getEveryWaveEntrySet();
|
public Set<Map.Entry<Integer,List<ItemStack>>> getEveryWaveEntrySet();
|
||||||
|
Loading…
Reference in New Issue
Block a user