Remove Pay wall for Party sizes
This commit is contained in:
parent
9f0f4e0018
commit
b734dc4e87
@ -137,11 +137,10 @@ public class Party
|
||||
/**
|
||||
* Set's this party's size cap base off the current players rank
|
||||
*
|
||||
* @param increased <code>true</code> if this party should have the increased size
|
||||
*/
|
||||
public void setSize(boolean increased)
|
||||
public void setSize()
|
||||
{
|
||||
_size = increased ? PARTY_MAX_SIZE : PARTY_MIN_SIZE;
|
||||
_size = PARTY_MAX_SIZE;
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -53,10 +53,10 @@ public class PartyEventListener implements Listener
|
||||
|
||||
if (bukkitPlayer != null && _plugin.getClientManager().Get(bukkitPlayer).GetRank().has(Rank.ULTRA))
|
||||
{
|
||||
party.setSize(true);
|
||||
party.setSize();
|
||||
} else
|
||||
{
|
||||
party.setSize(false);
|
||||
party.setSize();
|
||||
}
|
||||
|
||||
_plugin.addParty(party);
|
||||
|
@ -82,10 +82,10 @@ public class PartyInviteManager
|
||||
newParty = new Party(possible.getName());
|
||||
if(_plugin.getClientManager().Get(possible).GetRank().has(Rank.ULTRA))
|
||||
{
|
||||
newParty.setSize(true);
|
||||
newParty.setSize();
|
||||
} else
|
||||
{
|
||||
newParty.setSize(false);
|
||||
newParty.setSize();
|
||||
}
|
||||
_plugin.addParty(newParty);
|
||||
_plugin.getMethodManager().addToParty(possible.getUniqueId(), newParty);
|
||||
|
Loading…
Reference in New Issue
Block a user