some fixes.

This commit is contained in:
magenoxx 2010-11-22 03:53:34 +00:00
parent 63d8231928
commit ec51f30d37
6 changed files with 17 additions and 16 deletions

View file

@ -28,5 +28,5 @@ public interface MagePlugins {
void sortPermanents(Map<String, JComponent> ui, Collection<MagePermanent> permanents);
void downloadImage(Set<Card> allCards);
int getGamesPlayed();
int addGamesPlayed();
void addGamesPlayed();
}

View file

@ -122,7 +122,7 @@ public class Plugins implements MagePlugins {
}
@Override
public int addGamesPlayed() {
public void addGamesPlayed() {
if (this.counterPlugin != null) {
synchronized(Plugins.class) {
try {
@ -133,7 +133,6 @@ public class Plugins implements MagePlugins {
}
}
}
return 0;
}
@Override