Got rid of cyclic getter

This commit is contained in:
Georgiy 2013-06-30 22:48:09 -04:00
parent bf41851939
commit 300083ca35

View File

@ -24,7 +24,7 @@ public final class DiscoSheep extends JavaPlugin {
} }
public synchronized Map<String, DiscoParty> getPartyMap() { public synchronized Map<String, DiscoParty> getPartyMap() {
return this.getPartyMap(); return this.parties;
} }
public synchronized List<DiscoParty> getParties() { public synchronized List<DiscoParty> getParties() {